]> Untitled Git - bdk/commit
[wallet] Stop implicitly enforcing manaul selection by .add_utxo
authorLLFourn <lloyd.fourn@gmail.com>
Thu, 22 Oct 2020 01:07:51 +0000 (12:07 +1100)
committerLLFourn <lloyd.fourn@gmail.com>
Fri, 23 Oct 2020 02:54:59 +0000 (13:54 +1100)
commita6b70af2fb114b2035a4577fef9f1fc5933cfcdb
tree43be17ec799187b7a6633c2c9774384e71c9c587
parentb87c7c5dc7c2c2c37495298b62d84fa0bfaad14f
[wallet] Stop implicitly enforcing manaul selection by .add_utxo

This makes it possible to choose a UTXO manually without having to
choose them *all* manually. I introduced the `manually_selected_only`
option to enforce that only manually selected utxos can be used.

To stop the cli semantics changing I made the `utxos` keep the old
behaviour by calling `manually_selected_only`.
src/cli.rs
src/wallet/mod.rs
src/wallet/tx_builder.rs