Performs context‐independent validity checks on a transaction.
Synopsis
Declared in <consensus/tx_check.h>
bool
CheckTransaction(
CTransaction const& tx,
TxValidationState& state);
Return Value
true if the transaction passes the context‐independent checks.
Parameters
Name |
Description |
tx |
The transaction to check. |
state |
Receives the validation result and rejection reason on failure. |
Created with MrDocs