Files
bitcoin/src/wallet/test/coinselection_tests.cpp
Murch 858a0a9c96 test: Add SRD maximum weight tests
Also:
- Add weight check to Success cases.

Per the introduction of TRUC transactions, it is more likely that we
will attempt to build transactions of limited weight (e.g., TRUC child
transactions may not exceed 4000 WU). When SRD exceeds the input weight
limit, it evicts the OutputGroup with the lowest effective value before
selecting additional UTXOs: we test that SRD will find a solution that
depends on the eviction working correctly, and that it fails as expected
when no solution is possible.
2026-04-07 15:48:30 -07:00

18 KiB