Returns the validation result from an opaque btck_TxValidationState pointer.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
btck_TxValidationResult
btck_tx_validation_state_get_tx_validation_result(btck_TxValidationState const* state);
btck_transaction_check currently produces only btck_TxValidationResult_UNSET for valid transactions and btck_TxValidationResult_CONSENSUS for invalid ones. Other values remain exposed for forward compatibility with higher-level validation entry points.
the validation result from an opaque btck_TxValidationState pointer.
| Name | Description |
|---|---|
| state | Opaque data structure for holding the state of a transaction during validation. |