[#btck-TxValidationState] = xref:btck.adoc[btck]::TxValidationState :relfileprefix: ../ :mrdocs: Owning wrapper over a `btck_TxValidationState`, holding a transaction's validation outcome. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class TxValidationState : public xref:btck/UniqueHandle-0da.adoc[UniqueHandle<btck_TxValidationState, btck_tx_validation_state_destroy>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/UniqueHandle-0da.adoc[UniqueHandle<btck_TxValidationState, btck_tx_validation_state_destroy>]` | Owning RAII handle for a non‐copyable C object, backed by std::unique_ptr. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/TxValidationState/2constructor.adoc[`TxValidationState`] [.small]#[constructor]# | Constructs an empty transaction validation state. | xref:btck/TxValidationState/GetTxValidationResult.adoc[`GetTxValidationResult`] | Returns the specific transaction validation result. | xref:btck/TxValidationState/GetValidationMode.adoc[`GetValidationMode`] | Returns the overall validation outcome. | xref:btck/TxValidationState/get-0d.adoc[`get`] | Returns the owned C handle. |=== == Using Declarations [cols="1,4"] |=== | Name| Description | xref:btck/TxValidationState/TxValidationState.adoc[`TxValidationState`] | Inherit the base constructor that adopts a C handle. |=== == Protected Types [cols="1,4"] |=== | Name| Description | xref:btck/TxValidationState/Deleter.adoc[`Deleter`] | Custom deleter that forwards to the C destroy function. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/TxValidationState/m_ptr.adoc[`m_ptr`] | The owned C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#