Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Electrum sync 2 #81

Closed
wants to merge 2 commits into from

Conversation

rajarshimaitra
Copy link
Collaborator

This is an alternate version of the electrum syncing example on top of #80 .. The update chain graph now contains all the wallet related transaction data, both new and old.. And sync isn't performed in two steps because of the invariant, and the result I think is very similar to esplora syncing..

evanlinjin and others added 2 commits December 9, 2022 12:09
The `ChainGraph` structure now ensures there are no "floating txids".
All txids mentioned in the internal chain must exist in the internal
graph.
This is an electrum example on top of PR LLFourn#80. To facilitate discussions
around the ongoing Chaingraph invariant work.
@codecov-commenter
Copy link

Codecov Report

Merging #81 (53e4133) into master (6d2cdd5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #81   +/-   ##
=======================================
  Coverage   50.83%   50.83%           
=======================================
  Files           9        9           
  Lines         602      602           
=======================================
  Hits          306      306           
  Misses        296      296           
Impacted Files Coverage Δ
bdk_core/src/chain_graph.rs 0.00% <ø> (ø)
bdk_core/src/keychain.rs 0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rajarshimaitra
Copy link
Collaborator Author

Closing this in favor of #77 .. This dumb way of syncing doesn't make sense when we can do step by step syncing using sparsechain.

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

Successfully merging this pull request may close these issues.

3 participants