-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in detailed wallet sync relating to gap addrs.
Prior to this commit, addresses imported on tx creation were at the tip of the index only, but detailed sync requires all address gap-forwards to be imported, else it requires a restart. The particular fix approach taken her is aggression because import is cheap; we import wallet.gaplimit forwards on all branches, taking advantage of the bci's function _collect_addresses_gap, thus ensuring that unless the gap limit changes, we will definitely not need a restart. Fast sync did not suffer from this and is unchanged.
- Loading branch information
Showing
2 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters