diff options
author | John Newbery <john@johnnewbery.com> | 2019-09-30 16:25:04 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-10-10 13:31:53 -0400 |
commit | e9d5a59e34ff2d538d8f5315efd9908bf24d0fdc (patch) | |
tree | 1019a60f2c8c49fc377b87968b04f59349716de7 /src/validation.h | |
parent | 0053e16714323c1694c834fdca74f064a1a33529 (diff) | |
download | bitcoin-e9d5a59e34ff2d538d8f5315efd9908bf24d0fdc.tar.xz |
[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.
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 8 |
1 files changed, 0 insertions, 8 deletions
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); |