aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/import-rescan.py
AgeCommit message (Collapse)Author
2017-02-10Require timestamps for importmulti keysRussell Yanofsky
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
2016-12-12[qa] Add test for rescan feature of wallet key import RPCsRussell Yanofsky
Covers importaddress, importpubkey, importprivkey, and importmulti RPCs.