[#btck-TxValidationState]
= xref:btck.adoc[btck]::TxValidationState
:relfileprefix: ../
:mrdocs:

Owning wrapper over a `btck&lowbar;TxValidationState`, holding a transaction&apos;s validation outcome&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class TxValidationState
    : public xref:btck/UniqueHandle-0da.adoc[UniqueHandle&lt;btck&lowbar;TxValidationState, btck&lowbar;tx&lowbar;validation&lowbar;state&lowbar;destroy&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:btck/UniqueHandle-0da.adoc[UniqueHandle&lt;btck&lowbar;TxValidationState, btck&lowbar;tx&lowbar;validation&lowbar;state&lowbar;destroy&gt;]`
| Owning RAII handle for a non&hyphen;copyable C object, backed by std&colon;&colon;unique&lowbar;ptr&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/TxValidationState/2constructor.adoc[`TxValidationState`]         [.small]#[constructor]#
| Constructs an empty transaction validation state&period;
| xref:btck/TxValidationState/GetTxValidationResult.adoc[`GetTxValidationResult`] 
| Returns the specific transaction validation result&period;
| xref:btck/TxValidationState/GetValidationMode.adoc[`GetValidationMode`] 
| Returns the overall validation outcome&period;
| xref:btck/TxValidationState/get-0d.adoc[`get`] 
| Returns the owned C handle&period;
|===


== Using Declarations

[cols="1,4"]
|===
| Name| Description
| xref:btck/TxValidationState/TxValidationState.adoc[`TxValidationState`] 
| Inherit the base constructor that adopts a C handle&period;
|===


== Protected Types

[cols="1,4"]
|===
| Name| Description
| xref:btck/TxValidationState/Deleter.adoc[`Deleter`] 
| Custom deleter that forwards to the C destroy function&period;
|===


== Protected Data Members

[cols="1,4"]
|===
| Name| Description
| xref:btck/TxValidationState/m_ptr.adoc[`m&lowbar;ptr`] 
| The owned C handle&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
