diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-02-03 16:23:13 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2017-02-10 15:40:28 -0500 |
commit | 442887f27fb5809e72862d4385eba86588bc97d0 (patch) | |
tree | 203a8fb48e26aaa644aa5f21c9a3bf92ef886786 /src/addrman.h | |
parent | 02464da5e4aa8c19d4fff3859dcdee822e2af78c (diff) |
Require timestamps for importmulti keys
Additionally, accept a "now" timestamp, to allow avoiding rescans for keys
which are known never to have been used.
Note that the behavior when "now" is specified is slightly different than the
previous behavior when no timestamp was specified at all. Previously, when no
timestamp was specified, it would avoid rescanning during the importmulti call,
but set the key's nCreateTime value to 1, which would not prevent future block
reads in later ScanForWalletTransactions calls. With this change, passing a
"now" timestamp will set the key's nCreateTime to the current block time
instead of 1.
Fixes #9491
Diffstat (limited to 'src/addrman.h')
0 files changed, 0 insertions, 0 deletions