]> Untitled Git - bdk/commit
Return early if required UTXOs already big enough
authorTobin Harding <me@tobin.cc>
Thu, 8 Jul 2021 01:56:05 +0000 (11:56 +1000)
committerTobin Harding <me@tobin.cc>
Thu, 22 Jul 2021 23:48:22 +0000 (09:48 +1000)
commitd2d37fc06d3b70470a48b099ac070dd773faf9cf
treee2e055c44a29dfebae13f729ffeeddd82e124a39
parent474620e6a574f7133a3339acfa7d0b1c62d5bb48
Return early if required UTXOs already big enough

If the required UTXO set is already bigger (including fees) than the
amount required for the transaction we can return early, no need to go
through the BNB algorithm or random selection.
src/wallet/coin_selection.rs