mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-05 10:17:30 -05:00
efcaefc7b5
There are two more cases where waste can be 0, when: - (Fee - LTF) == -Change Cost - (Fee - LTF) == -Excess Adding these two conditions explicitly in the unit test will help pin the behavior, also demonstrate waste calculation scenarios to new readers. |
||
---|---|---|
.. | ||
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 | ||
spend_tests.cpp | ||
util.cpp | ||
util.h | ||
wallet_crypto_tests.cpp | ||
wallet_test_fixture.cpp | ||
wallet_test_fixture.h | ||
wallet_tests.cpp | ||
walletdb_tests.cpp |