If a destination is reused we mark the cache of the other transactions going to that destination dirty so they are not accidentally reported as trusted when the cache is hit.
Backport of Core PR17843
Differential D7685
[backport#17843] wallet: Reset reused transactions cache majcosta on Sep 30 2020, 19:55. Authored by Tags None Subscribers None
Details
If a destination is reused we mark the cache of the other transactions going to that destination dirty so they are not accidentally reported as trusted when the cache is hit. Backport of Core PR17843 ninja check check-functional
Diff Detail
Event TimelineComment Actions [Bot Message] Comment Actions [Bot Message] Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-diff) failed.
Snippet of first build failure: [0m[0;32mrpc_help.py | ✓ Passed | 1 s [0m[0;32mrpc_invalidateblock.py | ✓ Passed | 6 s [0m[0;32mrpc_misc.py | ✓ Passed | 1 s [0m[0;32mrpc_named_arguments.py | ✓ Passed | 1 s [0m[0;32mrpc_net.py | ✓ Passed | 1 s [0m[0;32mrpc_preciousblock.py | ✓ Passed | 1 s [0m[0;32mrpc_psbt.py | ✓ Passed | 21 s [0m[0;32mrpc_scantxoutset.py | ✓ Passed | 4 s [0m[0;32mrpc_setban.py | ✓ Passed | 2 s [0m[0;32mrpc_signmessage.py | ✓ Passed | 1 s [0m[0;32mrpc_signrawtransaction.py | ✓ Passed | 1 s [0m[0;32mrpc_txoutproof.py | ✓ Passed | 2 s [0m[0;32mrpc_uptime.py | ✓ Passed | 1 s [0m[0;32mrpc_users.py | ✓ Passed | 2 s [0m[0;32mrpc_whitelist.py | ✓ Passed | 1 s [0m[0;32mtool_wallet.py | ✓ Passed | 3 s [0m[0;32mwallet_abandonconflict.py | ✓ Passed | 11 s [0m[0;32mwallet_address_types.py | ✓ Passed | 13 s [0m[0;32mwallet_backup.py | ✓ Passed | 48 s [0m[0;32mwallet_balance.py | ✓ Passed | 14 s [0m[0;32mwallet_basic.py | ✓ Passed | 26 s [0m[0;32mwallet_coinbase_category.py | ✓ Passed | 1 s [0m[0;32mwallet_create_tx.py | ✓ Passed | 6 s [0m[0;32mwallet_createwallet.py | ✓ Passed | 2 s [0m[0;32mwallet_createwallet.py --usecli | ✓ Passed | 2 s [0m[0;32mwallet_disable.py | ✓ Passed | 1 s [0m[0;32mwallet_dump.py | ✓ Passed | 3 s [0m[0;32mwallet_encryption.py | ✓ Passed | 5 s [0m[0;32mwallet_groups.py | ✓ Passed | 10 s [0m[0;32mwallet_hd.py | ✓ Passed | 5 s [0m[0;32mwallet_import_rescan.py | ✓ Passed | 4 s [0m[0;32mwallet_import_with_label.py | ✓ Passed | 1 s [0m[0;32mwallet_importmulti.py | ✓ Passed | 3 s [0m[0;32mwallet_importprunedfunds.py | ✓ Passed | 2 s [0m[0;32mwallet_keypool.py | ✓ Passed | 3 s [0m[0;32mwallet_keypool_topup.py | ✓ Passed | 2 s [0m[0;32mwallet_labels.py | ✓ Passed | 1 s [0m[0;32mwallet_listreceivedby.py | ✓ Passed | 20 s [0m[0;32mwallet_listsinceblock.py | ✓ Passed | 4 s [0m[0;32mwallet_listtransactions.py | ✓ Passed | 21 s [0m[0;32mwallet_multiwallet.py | ✓ Passed | 15 s [0m[0;32mwallet_multiwallet.py --usecli | ✓ Passed | 15 s [0m[0;32mwallet_reorgsrestore.py | ✓ Passed | 3 s [0m[0;32mwallet_resendwallettransactions.py | ✓ Passed | 17 s [0m[0;32mwallet_txn_clone.py | ✓ Passed | 3 s [0m[0;32mwallet_txn_clone.py --mineblock | ✓ Passed | 3 s [0m[0;32mwallet_txn_doublespend.py | ✓ Passed | 1 s [0m[0;32mwallet_txn_doublespend.py --mineblock | ✓ Passed | 3 s [0m[0;32mwallet_watchonly.py | ✓ Passed | 1 s [0m[0;32mwallet_watchonly.py --usecli | ✓ Passed | 1 s [0m[0;32mwallet_zapwallettxes.py | ✓ Passed | 5 s [0m[0;31mwallet_avoidreuse.py | ✖ Failed | 3 s [0m[0;31m[1m ALL | ✖ Failed | 757 s (accumulated) [0m[0mRuntime: 153 s FAILED: test/CMakeFiles/check-functional-upgrade-activated cd /work/abc-ci-builds/build-diff/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-diff/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-diff/test/log && /usr/bin/cmake -E env /usr/bin/python3.7 ./functional/test_runner.py "--testsuitename=Bitcoin ABC functional tests with the next upgrade activated" --junitoutput=/work/abc-ci-builds/build-diff/test/junit/functional_tests_with_the_next_upgrade_activated.xml --with-axionactivation ninja: build stopped: cannot make progress due to previous errors. Build build-diff failed with exit code 1 Each failure log is accessible here: |