File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 12
12
13
13
#include < cassert>
14
14
15
- /* * Expiration time for orphan transactions */
16
- static constexpr auto ORPHAN_TX_EXPIRE_TIME{20min};
17
- /* * Minimum time between orphan transactions expire time checks */
18
- static constexpr auto ORPHAN_TX_EXPIRE_INTERVAL{5min};
19
-
20
-
21
15
bool TxOrphanage::AddTx (const CTransactionRef& tx, NodeId peer)
22
16
{
23
17
LOCK (m_mutex);
Original file line number Diff line number Diff line change 14
14
#include < map>
15
15
#include < set>
16
16
17
+ /* * Expiration time for orphan transactions */
18
+ static constexpr auto ORPHAN_TX_EXPIRE_TIME{20min};
19
+ /* * Minimum time between orphan transactions expire time checks */
20
+ static constexpr auto ORPHAN_TX_EXPIRE_INTERVAL{5min};
21
+
17
22
/* * A class to track orphan transactions (failed on TX_MISSING_INPUTS)
18
23
* Since we cannot distinguish orphans from bad transactions with
19
24
* non-existent inputs, we heavily limit the number of orphans
You can’t perform that action at this time.
0 commit comments