]> Untitled Git - bdk-cli/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)
commit49bcbd2b0975f8cedd14e0fc285969884f59fa36
tree32a35da8a286c8aedf1f96351504a0fe6f09cb50
parent54c6bdab2017a3e04d4326ee46acdfc56a445c66
[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