Runs consensus‐level checks on a standalone transaction.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

bool
CheckTransaction(
    Transaction const& tx,
    TxValidationState& state);

Return Value

True when the transaction passes the checks.

Parameters

Name

Description

tx

The transaction to check.

state

Receives the validation result.

Created with MrDocs