0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-05 10:17:30 -05:00
bitcoin-bitcoin-core/src/wallet/test
Russell Yanofsky 2b9cba2065 Remove CWalletTx merging logic from AddToWallet
Instead of AddToWallet taking a temporary CWalletTx object and then potentially
merging it with a pre-existing CWalletTx, have it take a callback so callers
can update the pre-existing CWalletTx directly.

This makes AddToWallet simpler because now it is only has to be concerned with
saving CWalletTx objects and not merging them.

This makes AddToWallet calls clearer because they can now make direct updates to
CWalletTx entries without having to make temporary objects and then worry about
how they will be merged.

This is a pure refactoring, no behavior is changing.
2020-05-01 05:59:09 -05:00
..
coinselector_tests.cpp Remove CWalletTx merging logic from AddToWallet 2020-05-01 05:59:09 -05:00
db_tests.cpp scripted-diff: test: Move setup_common to test library 2019-11-06 11:56:41 -05:00
init_test_fixture.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
init_test_fixture.h scripted-diff: test: Move setup_common to test library 2019-11-06 11:56:41 -05:00
init_tests.cpp scripted-diff: test: Move setup_common to test library 2019-11-06 11:56:41 -05:00
ismine_tests.cpp Refactor: Allow LegacyScriptPubKeyMan to be null 2020-01-23 16:34:28 -05:00
psbt_wallet_tests.cpp scripted-diff: Bump copyright headers 2020-04-16 13:33:09 -04:00
scriptpubkeyman_tests.cpp wallet: Improve LegacyScriptPubKeyMan::CanProvide script recognition 2020-02-12 11:48:30 -05:00
wallet_crypto_tests.cpp scripted-diff: test: Move setup_common to test library 2019-11-06 11:56:41 -05:00
wallet_test_fixture.cpp scripted-diff: Bump copyright headers 2020-04-16 13:33:09 -04:00
wallet_test_fixture.h scripted-diff: Bump copyright headers 2020-04-16 13:33:09 -04:00
wallet_tests.cpp Remove CWalletTx merging logic from AddToWallet 2020-05-01 05:59:09 -05:00