aboutsummaryrefslogtreecommitdiff
path: root/src/script/sigcache.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2016-11-08 16:55:02 -0500
committerRussell Yanofsky <[email protected]>2017-02-10 16:11:19 -0500
commita80f98b1c7a49432dc53d18d0fb51ac334de96be (patch)
treeee85a02c68e6157baabd8d7c06b0af3e96b04ec9 /src/script/sigcache.cpp
parentDedup nTimeFirstKey update logic (diff)
downloaddiscoin-a80f98b1c7a49432dc53d18d0fb51ac334de96be.tar.xz
discoin-a80f98b1c7a49432dc53d18d0fb51ac334de96be.zip
Use importmulti timestamp when importing watch only keys
When importing a watch-only address over importmulti with a specific timestamp, the wallet's nTimeFirstKey is currently set to 1. After this change, the provided timestamp will be used and stored as metadata associated with watch-only key. This can improve wallet performance because it can avoid the need to scan the entire blockchain for watch only addresses when timestamps are provided. Also adds timestamp to validateaddress return value (needed for tests). Fixes #9034.
Diffstat (limited to 'src/script/sigcache.cpp')
0 files changed, 0 insertions, 0 deletions