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