aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/coinselection.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-08-31 16:45:39 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-10-02 12:35:04 -0400
commit416d74fb1687ae1d47a58c153d09d9afe0b6dc60 (patch)
treebd3fef5010a23b8fdcdd4f6f06d6a54aa0b71865 /src/wallet/coinselection.h
parentd895e98b594b873f3d34c8ba63e9b55125d51b5a (diff)
downloadbitcoin-416d74fb1687ae1d47a58c153d09d9afe0b6dc60.tar.xz
Move OutputGroup positive only filtering into Insert
Diffstat (limited to 'src/wallet/coinselection.h')
-rw-r--r--src/wallet/coinselection.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h
index 721f1a22eb..6e3b8c3915 100644
--- a/src/wallet/coinselection.h
+++ b/src/wallet/coinselection.h
@@ -87,11 +87,8 @@ struct OutputGroup
m_long_term_feerate(long_term_feerate)
{}
- void Insert(const CInputCoin& output, int depth, bool from_me, size_t ancestors, size_t descendants);
- std::vector<CInputCoin>::iterator Discard(const CInputCoin& output);
+ void Insert(const CInputCoin& output, int depth, bool from_me, size_t ancestors, size_t descendants, bool positive_only);
bool EligibleForSpending(const CoinEligibilityFilter& eligibility_filter) const;
-
- OutputGroup GetPositiveOnlyGroup();
};
bool SelectCoinsBnB(std::vector<OutputGroup>& utxo_pool, const CAmount& target_value, const CAmount& cost_of_change, std::set<CInputCoin>& out_set, CAmount& value_ret, CAmount not_input_fees);