diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-08-14 16:03:26 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-08-14 16:08:44 +0200 |
| commit | 653a46dd91777405e7a46b113859a6234173d7fe (patch) | |
| tree | b2d3c21bb10c4d98054f0945fc3d7cb95ef7cedc /src/httpserver.cpp | |
| parent | Merge #10968: Add instructions for parallel gitian builds. (diff) | |
| parent | [wallet] [tests] Add keypool topup functional test (diff) | |
| download | discoin-653a46dd91777405e7a46b113859a6234173d7fe.tar.xz discoin-653a46dd91777405e7a46b113859a6234173d7fe.zip | |
Merge #11022: Basic keypool topup
d34957e [wallet] [tests] Add keypool topup functional test (Jonas Schnelli)
095142d [wallet] keypool mark-used and topup (John Newbery)
c25d90f [wallet] Add HasUnusedKeys() helper (John Newbery)
f2123e3 [wallet] Cache keyid -> keypool id mappings (John Newbery)
83f1ec3 [wallet] Don't hold cs_LastBlockFile while calling setBestChain (John Newbery)
2376bfc [wallet] [moveonly] Move LoadKeyPool to cpp (Matt Corallo)
cab8557 [wallet] [moveonly] Move CAffectedKeysVisitor (Jonas Schnelli)
Pull request description:
This PR contains the first part of #10882 :
- if a key from the keypool is used, mark all keys up to that key as used, and then try to top up the keypool
- top up the keypool on startup
Notably, it does not stop the node or prevent the best block from advancing if the keypool drops below a threshold (which means that transactions may be missed and funds lost if restoring from an old HD wallet backup).
Tree-SHA512: ac681fefeaf7ec2aab2fa1da93d12273ea80bd05eb48d7b3b551ea6e5d975dd97ba7de52b7fba52993823280ac4079cc36cf78a27dac708107ebf8fb6326142b
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions