Persist cached SPKs on wallet creation#428
Persist cached SPKs on wallet creation#428j-kon wants to merge 1 commit intobitcoindevkit:masterfrom
Conversation
|
The main issue is with the The SPK cache already acts as a kind of stage. What we want is to pass a Second, |
5f9c03f to
dbad84a
Compare
|
Thanks, this makes sense. I reworked the patch to follow that direction and pushed an update. Instead of forcing the staged SPK cache out via I also split the creation and loading paths: creation now builds the index directly and stages its initial changeset, while loading reconstructs the The regression test is still covering the original issue: a wallet created with I reran |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #428 +/- ##
==========================================
+ Coverage 80.04% 80.06% +0.02%
==========================================
Files 24 24
Lines 5336 5348 +12
Branches 242 242
==========================================
+ Hits 4271 4282 +11
- Misses 987 988 +1
Partials 78 78
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dbad84a to
9d78337
Compare
Summary
Closes #387.
Testing
cc @ValuedMammal, @oleonardolima