mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
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 | ||