From e9d5a59e34ff2d538d8f5315efd9908bf24d0fdc Mon Sep 17 00:00:00 2001 From: John Newbery Date: Mon, 30 Sep 2019 16:25:04 -0400 Subject: [validation] Remove REJECT code from CValidationState We no longer send BIP 61 REJECT messages, so there's no need to set a REJECT code in the CValidationState object. --- src/validation.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/validation.h') diff --git a/src/validation.h b/src/validation.h index fbbe3757e0..fe81ef83e2 100644 --- a/src/validation.h +++ b/src/validation.h @@ -779,14 +779,6 @@ extern VersionBitsCache versionbitscache; */ int32_t ComputeBlockVersion(const CBlockIndex* pindexPrev, const Consensus::Params& params); -/** Reject codes greater or equal to this can be returned by AcceptToMemPool - * for transactions, to signal internal conditions. They cannot and should not - * be sent over the P2P network. - */ -static const unsigned int REJECT_INTERNAL = 0x100; -/** Too high fee. Can not be triggered by P2P transactions */ -static const unsigned int REJECT_HIGHFEE = 0x100; - /** Get block file info entry for one block file */ CBlockFileInfo* GetBlockFileInfo(size_t n); -- cgit v1.2.3