mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Add src/wallet/* code to wallet:: namespace
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include <numeric>
|
||||
#include <optional>
|
||||
|
||||
namespace wallet {
|
||||
// Descending order comparator
|
||||
struct {
|
||||
bool operator()(const OutputGroup& a, const OutputGroup& b) const
|
||||
@@ -429,3 +430,4 @@ bool SelectionResult::operator<(SelectionResult other) const
|
||||
// As this operator is only used in std::min_element, we want the result that has more inputs when waste are equal.
|
||||
return *m_waste < *other.m_waste || (*m_waste == *other.m_waste && m_selected_inputs.size() > other.m_selected_inputs.size());
|
||||
}
|
||||
} // namespace wallet
|
||||
|
||||
Reference in New Issue
Block a user