aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2017-09-18 13:46:33 +0200
committerselsta <selsta@sent.at>2017-10-02 21:23:33 +0200
commit986d03d4b252e00f7b8234df7b3c39eb960f0a41 (patch)
tree696afd2b74d2ba9920a58d4448adf90737d1a086 /src/wallet/wallet2.h
parentMerge pull request #2491 (diff)
downloadmonero-986d03d4b252e00f7b8234df7b3c39eb960f0a41.tar.xz
simplewallet: allow to set threshold before warning about tx backlog
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 1dff14a95..839d07881 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -600,6 +600,8 @@ namespace tools
bool merge_destinations() const { return m_merge_destinations; }
bool confirm_backlog() const { return m_confirm_backlog; }
void confirm_backlog(bool always) { m_confirm_backlog = always; }
+ void set_confirm_backlog_threshold(uint32_t threshold) { m_confirm_backlog_threshold = threshold; };
+ uint32_t get_confirm_backlog_threshold() const { return m_confirm_backlog_threshold; };
bool get_tx_key(const crypto::hash &txid, crypto::secret_key &tx_key) const;
@@ -773,6 +775,7 @@ namespace tools
uint64_t m_min_output_value;
bool m_merge_destinations;
bool m_confirm_backlog;
+ uint32_t m_confirm_backlog_threshold;
bool m_is_initialized;
NodeRPCProxy m_node_rpc_proxy;
std::unordered_set<crypto::hash> m_scanned_pool_txs[2];