mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-05 10:17:30 -05:00
2b9cba2065
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. |
||
---|---|---|
.. | ||
coinselector_tests.cpp | ||
db_tests.cpp | ||
init_test_fixture.cpp | ||
init_test_fixture.h | ||
init_tests.cpp | ||
ismine_tests.cpp | ||
psbt_wallet_tests.cpp | ||
scriptpubkeyman_tests.cpp | ||
wallet_crypto_tests.cpp | ||
wallet_test_fixture.cpp | ||
wallet_test_fixture.h | ||
wallet_tests.cpp |