mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
Remove now-unused WITNESS_STRIPPED variant of TxValidationResult
This commit is contained in:
parent
f5f074eacc
commit
25282b653b
2 changed files with 0 additions and 5 deletions
|
@ -33,10 +33,6 @@ enum class TxValidationResult {
|
||||||
* non-standard witnesses).
|
* non-standard witnesses).
|
||||||
*/
|
*/
|
||||||
TX_WITNESS_MUTATED,
|
TX_WITNESS_MUTATED,
|
||||||
/**
|
|
||||||
* Transaction is missing a witness.
|
|
||||||
*/
|
|
||||||
TX_WITNESS_STRIPPED,
|
|
||||||
/**
|
/**
|
||||||
* Tx already in mempool or conflicts with a tx in the chain
|
* Tx already in mempool or conflicts with a tx in the chain
|
||||||
* (if it conflicts with another tx in mempool, we use MEMPOOL_POLICY as it failed to reach the RBF threshold)
|
* (if it conflicts with another tx in mempool, we use MEMPOOL_POLICY as it failed to reach the RBF threshold)
|
||||||
|
|
|
@ -1850,7 +1850,6 @@ void PeerManagerImpl::MaybePunishNodeForTx(NodeId nodeid, const TxValidationStat
|
||||||
case TxValidationResult::TX_MISSING_INPUTS:
|
case TxValidationResult::TX_MISSING_INPUTS:
|
||||||
case TxValidationResult::TX_PREMATURE_SPEND:
|
case TxValidationResult::TX_PREMATURE_SPEND:
|
||||||
case TxValidationResult::TX_WITNESS_MUTATED:
|
case TxValidationResult::TX_WITNESS_MUTATED:
|
||||||
case TxValidationResult::TX_WITNESS_STRIPPED:
|
|
||||||
case TxValidationResult::TX_CONFLICT:
|
case TxValidationResult::TX_CONFLICT:
|
||||||
case TxValidationResult::TX_MEMPOOL_POLICY:
|
case TxValidationResult::TX_MEMPOOL_POLICY:
|
||||||
case TxValidationResult::TX_NO_MEMPOOL:
|
case TxValidationResult::TX_NO_MEMPOOL:
|
||||||
|
|
Loading…
Add table
Reference in a new issue