Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.h
Show All 20 Lines | |||||
* memory. | * memory. | ||||
*/ | */ | ||||
static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100; | static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100; | ||||
/** | /** | ||||
* Default number of orphan+recently-replaced txn to keep around for block | * Default number of orphan+recently-replaced txn to keep around for block | ||||
* reconstruction. | * reconstruction. | ||||
*/ | */ | ||||
static const unsigned int DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN = 100; | static const unsigned int DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN = 100; | ||||
static const bool DEFAULT_PEERBLOCKFILTERS = false; | |||||
class PeerLogicValidation final : public CValidationInterface, | class PeerLogicValidation final : public CValidationInterface, | ||||
public NetEventsInterface { | public NetEventsInterface { | ||||
private: | private: | ||||
CConnman *const connman; | CConnman *const connman; | ||||
BanMan *const m_banman; | BanMan *const m_banman; | ||||
bool CheckIfBanned(CNode *pnode) EXCLUSIVE_LOCKS_REQUIRED(cs_main); | bool CheckIfBanned(CNode *pnode) EXCLUSIVE_LOCKS_REQUIRED(cs_main); | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |