diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-06 22:50:40 +0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-06 22:50:41 +0400 |
commit | c58ec8cdc181988f5be7c4606294f0888d4e830c (patch) | |
tree | 72d39384912450ed66511a7a6620c93ad9f3927c /src/wallet/wallet2.h | |
parent | Merge pull request #2345 (diff) | |
parent | simplewallet: allow to set threshold before warning about tx backlog (diff) | |
download | monero-c58ec8cdc181988f5be7c4606294f0888d4e830c.tar.xz |
Merge pull request #2468
986d03d4 simplewallet: allow to set threshold before warning about tx backlog (selsta)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 3 |
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]; |