clarity-bitcoin icon indicating copy to clipboard operation
clarity-bitcoin copied to clipboard

How to verify flash block btc transactions ?

Open friedger opened this issue 3 years ago • 6 comments

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?

friedger avatar May 18 '21 10:05 friedger