MempoolAcceptResult::MempoolTxDifferentWitness

Build a result for a transaction rejected because a same-txid, different-witness transaction is already in the mempool.

Synopsis

Declared in <validation.h>

static
MempoolAcceptResult
MempoolTxDifferentWitness(Wtxid const& other_wtxid);

Return Value

A DIFFERENT_WITNESS result referencing the existing transaction.

Parameters

NameDescription
other_wtxidWtxid of the conflicting transaction already in the mempool.