diff options
author | t-bast <bastuc@hotmail.fr> | 2021-03-10 15:37:18 +0100 |
---|---|---|
committer | t-bast <bastuc@hotmail.fr> | 2021-04-30 18:53:47 +0200 |
commit | 11d6459b6e101f05f36e13799c400bef82d2fc21 (patch) | |
tree | e467b32e008eca8e9978766ab1d783059de3f35f /src/wallet/coinselection.h | |
parent | 480bf01c295527bd212964efe4df3bb886db5654 (diff) | |
download | bitcoin-11d6459b6e101f05f36e13799c400bef82d2fc21.tar.xz |
rpc: include_unsafe option for fundrawtransaction
Allow RPC users to opt-in to unsafe inputs when funding a raw transaction.
Applications that need to manage a complex RBF flow (such as lightning
nodes using anchor outputs) are very limited if they can only use safe inputs.
Fixes #21299
Diffstat (limited to 'src/wallet/coinselection.h')
-rw-r--r-- | src/wallet/coinselection.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h index 5c1b36be6e..5645e6db46 100644 --- a/src/wallet/coinselection.h +++ b/src/wallet/coinselection.h @@ -65,8 +65,7 @@ struct CoinEligibilityFilter /** Minimum number of confirmations for outputs that we sent to ourselves. * We may use unconfirmed UTXOs sent from ourselves, e.g. change outputs. */ const int conf_mine; - /** Minimum number of confirmations for outputs received from a different - * wallet. We never spend unconfirmed foreign outputs as we cannot rely on these funds yet. */ + /** Minimum number of confirmations for outputs received from a different wallet. */ const int conf_theirs; /** Maximum number of unconfirmed ancestors aggregated across all UTXOs in an OutputGroup. */ const uint64_t max_ancestors; |