aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/importmulti.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge #9756: Return error when importmulti called with invalid address.Wladimir J. van der Laan2017-02-151-0/+10
|\ | | | | | | 9acf25c Return error when importmulti called with invalid address. (Russell Yanofsky)
| * Return error when importmulti called with invalid address.Russell Yanofsky2017-02-131-0/+10
| | | | | | | | Lack of error checking noticed by Alex Morcos <[email protected]>
* | Use importmulti timestamp when importing watch only keysRussell Yanofsky2017-02-101-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Use MTP for importmulti "now" timestampsRussell Yanofsky2017-02-101-1/+1
| |
* | Add test to check new importmulti "now" valueRussell Yanofsky2017-02-101-0/+2
| | | | | | | | | | Easiest way to test this was to expose the timestamp via the validateaddress RPC (which was already looking up and returning key metadata).
* | Require timestamps for importmulti keysRussell Yanofsky2017-02-101-3/+34
|/ | | | | | | | | | | | | | | 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
* Remove redundant semicolons in Python codepracticalswift2017-01-201-7/+7
|
* Add consistency check to RPC call importmultiPedro Branco2016-10-191-1/+68
|
* Add importmulti rpc callPedro Branco2016-10-191-0/+293