Luke Dashjr
3422369f44
Merge 27034 via rpc_importaddr_for_descwallet-27+k
2025-03-05 03:27:08 +00:00
Hennadii Stepanov
a0473442d1
scripted-diff: Add __file__
argument to BitcoinTestFramework.init()
...
-BEGIN VERIFY SCRIPT-
sed -i -e 's/\s*().main\s*()/(__file__).main()/' $(git ls-files test/functional/*.py)
sed -i -e 's/def __init__(self)/def __init__(self, test_file)/' test/functional/test_framework/test_framework.py
-END VERIFY SCRIPT-
2024-07-16 22:06:47 +01:00
Luke Dashjr
0c38bbd194
QA: wallet_reindex: Use importdescriptors
directly rather than abusing test_framework's importaddress
wrapper
...
`importdescriptors` is expected to initialise wallet birth time to "now", but `importaddress` initialises it to 1 instead.
2024-05-17 17:27:54 +00:00
furszy
1ce45baed7
rpc: getwalletinfo, return wallet 'birthtime'
...
And add coverage for it
2023-12-05 18:55:35 -03:00
furszy
83c66444d0
test: coverage for wallet birth time interaction with -reindex
...
Verifying the wallet updates the birth time accordingly when it
detects a transaction with a time older than the oldest descriptor
timestamp.
This could happen when the user blindly imports a descriptor with
'timestamp=now'.
2023-12-05 18:55:35 -03:00