diff options
author | John Newbery <john@johnnewbery.com> | 2021-09-27 16:55:42 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-11-03 14:34:38 +0000 |
commit | 92a3aeecf6a82e9cbc9fda11022b0548efd24d05 (patch) | |
tree | b7767b17918c211b159097329950a8f5d2bc6b4b /src/net_processing.cpp | |
parent | 36167faea92c97ddea7403280a5074073c8e5f90 (diff) |
[validation] Add CChainState::ProcessTransaction()
This just calls through to AcceptToMemoryPool() internally, and is currently unused.
Also add a new transaction validation failure reason TX_NO_MEMPOOL to
indicate that there is no mempool.
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 9f3aa5b4a3..3ab716dc3b 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -1409,6 +1409,7 @@ bool PeerManagerImpl::MaybePunishNodeForTx(NodeId nodeid, const TxValidationStat case TxValidationResult::TX_WITNESS_STRIPPED: case TxValidationResult::TX_CONFLICT: case TxValidationResult::TX_MEMPOOL_POLICY: + case TxValidationResult::TX_NO_MEMPOOL: break; } if (message != "") { |