-
Notifications
You must be signed in to change notification settings - Fork 811
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
Automatically set walletdb.spv according to client #621
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #621 +/- ##
==========================================
+ Coverage 53.32% 53.53% +0.21%
==========================================
Files 104 109 +5
Lines 27666 27955 +289
Branches 4737 4748 +11
==========================================
+ Hits 14752 14965 +213
- Misses 12914 12990 +76
Continue to review full report at Codecov.
|
This will crash on most common use case: |
375632b
to
aabcd45
Compare
It now checks whether the node exists before touching its spv filter. |
Obviate the need for manually setting the 'spv' property of walletdb when the 'client' property is provided
aabcd45
to
ce4bf1d
Compare
Sounds good. Should I redo this PR against your PR so that we keep the regression test as well? |
Hm yeah, I have one more update I need to do on that PR, which will include a |
Sounds good. Also take a look at #417, I've written an |
@OrfeasLitos Ok #749 is a cleaner PR that just exposes |
This PR obviates the need for manually setting the 'spv' property of walletdb when the 'client' property is provided. The property is set to the same value as the client node. The original, manual way of setting the spv property is maintained for backwards compatibility, for walletdbs without a client and for manually overriding the client mode.