Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.h
Show All 22 Lines | |||||
/** | /** | ||||
* 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; | ||||
/** Default for BIP61 (sending reject messages) */ | /** Default for BIP61 (sending reject messages) */ | ||||
static constexpr bool DEFAULT_ENABLE_BIP61{false}; | static constexpr bool DEFAULT_ENABLE_BIP61{false}; | ||||
static const bool DEFAULT_PEERBLOOMFILTERS = 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 SendRejectsAndCheckIfBanned(CNode *pnode, bool enable_bip61) | bool SendRejectsAndCheckIfBanned(CNode *pnode, bool enable_bip61) | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |