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

Add best_tip_hash field to BlockStatus #52

Open
wants to merge 1 commit into
base: new-index
Choose a base branch
from

Conversation

tnull
Copy link

@tnull tnull commented Dec 6, 2022

We add the tip of the best chain known to the block status endpoint.

This useful in order to allow a client issuing a sequence of queries to check whether a reorg happened in-between, i.e., to detect any possible inconsistencies. In particular, this is needed when syncing a Lightning wallet against an Esplora backend where we need to be able to query the status of multiple transactions/blocks in a consistent way.

We add the tip of the best chain known to the block status endpoint.

This useful in order to allow a client issuing a sequence of queries to
check whether a reorg happened in-between, i.e., to detect any possible
inconsistencies.
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

Successfully merging this pull request may close these issues.

1 participant