Skip to content
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

Consider using confirmation instead of depth when validating inlucion of transactions on BTC chain #39

Open
KonradStaniec opened this issue Aug 29, 2024 · 0 comments

Comments

@KonradStaniec
Copy link
Collaborator

Currently in Babylon node, btc transactions must be at certain depth to be considered included in BTC chain. Depth is defined as number of block which bury given transaction, so transaction in the tip block will have depth equal to 0, in the next after tip 1.

In BTC world, more popular is counting number of confirmations. Transactions in tip block is considered to have 1 confirmation.

Given that confirmations are more popular than depth, it make sense to start using it on Babylon node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant