[backport#13756] Wallet/rpc: add 'avoid_reuse' option to RPC commands
Summary:
createwallet, getbalance, getwalletinfo, listunspent, sendtoaddress
rpc/wallet: listunspent include reused flag and show reused utxos by default
https://github.com/bitcoin/bitcoin/pull/13756/commits/0bdfbd34cf4015de87741ff549db35e5064f4e16
Depends on D6464
Partial backport of Core PR13756
Test Plan:
ninja check ./src/bitcoind/bitcoind -daemon -regtest
run bitcoin-cli help for the commands above check if everything is in order
the proper functional test for this feature is in the next commit D6466
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D6465