diff options
author | selsta <selsta@sent.at> | 2020-12-03 02:18:58 +0100 |
---|---|---|
committer | selsta <selsta@sent.at> | 2020-12-03 02:24:52 +0100 |
commit | 93135907dd75813ac16454b1d3df037da4f6bd7f (patch) | |
tree | 33a390efe070150aba2ff0b0e16c59bea0a77763 /src/wallet/wallet2.cpp | |
parent | Merge pull request #7010 (diff) | |
download | monero-93135907dd75813ac16454b1d3df037da4f6bd7f.tar.xz |
wallet2: set propagation timeout to current max timeout
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r-- | src/wallet/wallet2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 65411e392..299e427ce 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2961,7 +2961,8 @@ void wallet2::update_pool_state(std::vector<std::tuple<cryptonote::transaction, MTRACE("update_pool_state got pool"); // remove any pending tx that's not in the pool - constexpr const std::chrono::seconds tx_propagation_timeout{CRYPTONOTE_DANDELIONPP_EMBARGO_AVERAGE * 3 / 2}; + // TODO: set tx_propagation_timeout to CRYPTONOTE_DANDELIONPP_EMBARGO_AVERAGE * 3 / 2 after v15 hardfork + constexpr const std::chrono::seconds tx_propagation_timeout{500}; const auto now = std::chrono::system_clock::now(); std::unordered_map<crypto::hash, wallet2::unconfirmed_transfer_details>::iterator it = m_unconfirmed_txs.begin(); while (it != m_unconfirmed_txs.end()) |