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

Name

Description

other_wtxid

Wtxid of the conflicting transaction already in the mempool.

Created with MrDocs