clarity-bitcoin
clarity-bitcoin copied to clipboard
How to verify flash block btc transactions ?
To verify bitcoin txs the burnchain header hash is verified using:
(get-block-info? burnchain-header-hash block-height)
For btc transactions in flash blocks, i.e. btc blocks that don't have corresponding stx blocks there is no way to verify the btc tx in clarity. Correct?
BTC blocks : |1| -- |2| -- |3| -- |4|
STX blocks: |1| -- -- |2| -- |3|
Txs in BTC block 2 can't be verified.
Would (get-block-info? burnchain-header-hash 2)
return the header hash of btc block 3?