mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
wallet: remove coin control arg from AutomaticCoinSelection
we only need the "include unsafe" flag, not all what coin control stores.
This commit is contained in:
@@ -153,6 +153,11 @@ struct CoinSelectionParams {
|
||||
* associated with the same address. This helps reduce privacy leaks resulting from address
|
||||
* reuse. Dust outputs are not eligible to be added to output groups and thus not considered. */
|
||||
bool m_avoid_partial_spends = false;
|
||||
/**
|
||||
* When true, allow unsafe coins to be selected during Coin Selection. This may spend unconfirmed outputs:
|
||||
* 1) Received from other wallets, 2) replacing other txs, 3) that have been replaced.
|
||||
*/
|
||||
bool m_include_unsafe_inputs = false;
|
||||
|
||||
CoinSelectionParams(FastRandomContext& rng_fast, size_t change_output_size, size_t change_spend_size,
|
||||
CAmount min_change_target, CFeeRate effective_feerate,
|
||||
|
||||
Reference in New Issue
Block a user