aboutsummaryrefslogtreecommitdiff
path: root/src/txorphanage.cpp
diff options
context:
space:
mode:
authorGreg Sanders <gsanders87@gmail.com>2024-06-07 10:05:37 -0400
committerGreg Sanders <gsanders87@gmail.com>2024-06-07 10:06:29 -0400
commit28dbe218feef51cbc28051273334dd73ba4500c0 (patch)
treed1ae42f832be7ba96658262599bb01bb3369b020 /src/txorphanage.cpp
parentfeab35189bc00bc4cf15e9dcb5cf6b34ff3a1e91 (diff)
refactor: move orphanage constants to header file
Diffstat (limited to 'src/txorphanage.cpp')
-rw-r--r--src/txorphanage.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/txorphanage.cpp b/src/txorphanage.cpp
index 3eaf53939d..ee8e323cd7 100644
--- a/src/txorphanage.cpp
+++ b/src/txorphanage.cpp
@@ -12,12 +12,6 @@
#include <cassert>
-/** Expiration time for orphan transactions */
-static constexpr auto ORPHAN_TX_EXPIRE_TIME{20min};
-/** Minimum time between orphan transactions expire time checks */
-static constexpr auto ORPHAN_TX_EXPIRE_INTERVAL{5min};
-
-
bool TxOrphanage::AddTx(const CTransactionRef& tx, NodeId peer)
{
LOCK(m_mutex);