diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-08-31 15:10:49 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-09-29 14:25:11 -0400 |
commit | 2acad036575ec998f8bbe4f10f6206b1c8ad3d23 (patch) | |
tree | 58420b89f1488449d6b7f0d82c7dc95fd977c06f /src/wallet/coinselection.h | |
parent | de4b7f25acef14f98ed09b7cbaa065067313d24b (diff) |
Remove OutputGroup non-default constructors
Diffstat (limited to 'src/wallet/coinselection.h')
-rw-r--r-- | src/wallet/coinselection.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h index 49c1134ec6..1a0373eba1 100644 --- a/src/wallet/coinselection.h +++ b/src/wallet/coinselection.h @@ -81,17 +81,6 @@ struct OutputGroup CAmount long_term_fee{0}; OutputGroup() {} - OutputGroup(std::vector<CInputCoin>&& outputs, bool from_me, CAmount value, int depth, size_t ancestors, size_t descendants) - : m_outputs(std::move(outputs)) - , m_from_me(from_me) - , m_value(value) - , m_depth(depth) - , m_ancestors(ancestors) - , m_descendants(descendants) - {} - OutputGroup(const CInputCoin& output, int depth, bool from_me, size_t ancestors, size_t descendants) : OutputGroup() { - Insert(output, depth, from_me, ancestors, descendants); - } void Insert(const CInputCoin& output, int depth, bool from_me, size_t ancestors, size_t descendants); std::vector<CInputCoin>::iterator Discard(const CInputCoin& output); bool EligibleForSpending(const CoinEligibilityFilter& eligibility_filter) const; |