aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2019-10-02 13:04:24 +0900
committerstoffu <stoffu@protonmail.ch>2019-10-02 13:04:24 +0900
commit93d5cf2441b42a7186217c4047849aa696894723 (patch)
tree920a8a7e3faf63d95bc933981da96e54c04b4b8f /src/wallet/wallet2.h
parentMerge pull request #5939 (diff)
downloadmonero-93d5cf2441b42a7186217c4047849aa696894723.tar.xz
wallet2: add ignore-outputs-{above/below} option
https://github.com/aeonix/aeon/pull/131
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 1469b4c00..474aae1ab 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1047,6 +1047,10 @@ private:
void ignore_fractional_outputs(bool value) { m_ignore_fractional_outputs = value; }
bool confirm_non_default_ring_size() const { return m_confirm_non_default_ring_size; }
void confirm_non_default_ring_size(bool always) { m_confirm_non_default_ring_size = always; }
+ uint64_t ignore_outputs_above() const { return m_ignore_outputs_above; }
+ void ignore_outputs_above(uint64_t value) { m_ignore_outputs_above = value; }
+ uint64_t ignore_outputs_below() const { return m_ignore_outputs_below; }
+ void ignore_outputs_below(uint64_t value) { m_ignore_outputs_below = value; }
bool track_uses() const { return m_track_uses; }
void track_uses(bool value) { m_track_uses = value; }
BackgroundMiningSetupType setup_background_mining() const { return m_setup_background_mining; }
@@ -1510,6 +1514,8 @@ private:
bool m_key_reuse_mitigation2;
uint64_t m_segregation_height;
bool m_ignore_fractional_outputs;
+ uint64_t m_ignore_outputs_above;
+ uint64_t m_ignore_outputs_below;
bool m_track_uses;
uint32_t m_inactivity_lock_timeout;
BackgroundMiningSetupType m_setup_background_mining;