Skip to content

Is there a way to cancel an ongoing sync? #1000

Answered by notmandatory
icota asked this question in Q&A
Discussion options

You must be logged in to vote

With the pre-1.0 sync there's no way to stop it while it's syncing. But post 1.0 you'll have more control of how and when to sync and store updates. For 1.0 there is a three step process, 1. scan the blockchain for wallet updates, access to Wallet isn't blocked, and 2. apply updates to the in memory Wallet indexes, a quick operation, 3. if any updates changed the Wallet, persist those to your DB, this should also be quick and not block access to the Wallet. The PR #976 includes examples for syncing with electrum and esplora.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by icota
Comment options

You must be logged in to vote
3 replies
@bodymindarts
Comment options

@LLFourn
Comment options

@orar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants