-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to verify flash block btc transactions ? #1
Comments
|
@jcnelson Does it? Calling
The burnchain header hash is the hash of bitcoin block 1974723 |
Yes, you're right. I checked the code. Relevant issue: stacks-network/stacks-core#2663 |
But anyway you can get the tx verification
But anyway, can you get the tx verification of that flash block in the next Btc transaction?... I mean it's about a delay or you can never verify Bitcoin tx in the missed 2nd block?!... I am asking this bcuz for some Dapp you need to verify if a Btc transaction is done successfully or not! |
@cryptopanter No, currently, you can get the bitcoin txs of btc blocks that are not an achor block of the stacks chain. |
We can or we can't?... 👉 Anchor block... |
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?
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?The text was updated successfully, but these errors were encountered: