Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.cpp
Show All 29 Lines | |||||
#include <txmempool.h> | #include <txmempool.h> | ||||
#include <ui_interface.h> | #include <ui_interface.h> | ||||
#include <util/moneystr.h> | #include <util/moneystr.h> | ||||
#include <util/strencodings.h> | #include <util/strencodings.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <validation.h> | #include <validation.h> | ||||
#include <validationinterface.h> | #include <validationinterface.h> | ||||
#include <memory> | |||||
#if defined(NDEBUG) | #if defined(NDEBUG) | ||||
#error "Bitcoin cannot be compiled without assertions." | #error "Bitcoin cannot be compiled without assertions." | ||||
#endif | #endif | ||||
/** Expiration time for orphan transactions in seconds */ | /** Expiration time for orphan transactions in seconds */ | ||||
static constexpr int64_t ORPHAN_TX_EXPIRE_TIME = 20 * 60; | static constexpr int64_t ORPHAN_TX_EXPIRE_TIME = 20 * 60; | ||||
/** Minimum time between orphan transactions expire time checks in seconds */ | /** Minimum time between orphan transactions expire time checks in seconds */ | ||||
static constexpr int64_t ORPHAN_TX_EXPIRE_INTERVAL = 5 * 60; | static constexpr int64_t ORPHAN_TX_EXPIRE_INTERVAL = 5 * 60; | ||||
▲ Show 20 Lines • Show All 4,679 Lines • Show Last 20 Lines |