btck::CheckTransaction

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

NameDescription
txThe transaction to check.
stateReceives the validation result.