mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Use REJECT_DUPLICATE for already known and conflicted txn
This commit is contained in:
@@ -509,10 +509,6 @@ int32_t ComputeBlockVersion(const CBlockIndex* pindexPrev, const Consensus::Para
|
||||
static const unsigned int REJECT_INTERNAL = 0x100;
|
||||
/** Too high fee. Can not be triggered by P2P transactions */
|
||||
static const unsigned int REJECT_HIGHFEE = 0x100;
|
||||
/** Transaction is already known (either in mempool or blockchain) */
|
||||
static const unsigned int REJECT_ALREADY_KNOWN = 0x101;
|
||||
/** Transaction conflicts with a transaction already known */
|
||||
static const unsigned int REJECT_CONFLICT = 0x102;
|
||||
|
||||
/** Get block file info entry for one block file */
|
||||
CBlockFileInfo* GetBlockFileInfo(size_t n);
|
||||
|
||||
Reference in New Issue
Block a user