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

Owning wrapper over a `btck&lowbar;BlockValidationState`, holding a block&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 BlockValidationState
    : public xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;BlockValidationState, btck&lowbar;block&lowbar;validation&lowbar;state&lowbar;copy, btck&lowbar;block&lowbar;validation&lowbar;state&lowbar;destroy&gt;]
    , public xref:btck/BlockValidationStateApi-0c.adoc[BlockValidationStateApi&lt;BlockValidationState&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;BlockValidationState, btck&lowbar;block&lowbar;validation&lowbar;state&lowbar;copy, btck&lowbar;block&lowbar;validation&lowbar;state&lowbar;destroy&gt;]`
| Owning RAII handle for a copyable C object of type `CType&period;`
| `xref:btck/BlockValidationStateApi-0c.adoc[BlockValidationStateApi&lt;BlockValidationState&gt;]`
| CRTP mixin adding block&hyphen;validation&hyphen;state accessors shared by the view and owning types&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/BlockValidationState/2constructor-00.adoc[`BlockValidationState`]         [.small]#[constructor]#
| Constructors
| xref:btck/BlockValidationState/operator_assign-02.adoc[`operator&equals;`] 
| Assignment operators
| xref:btck/BlockValidationState/GetBlockValidationResult.adoc[`GetBlockValidationResult`] 
| Returns the specific block validation result&period;
| xref:btck/BlockValidationState/GetValidationMode.adoc[`GetValidationMode`] 
| Returns the overall validation outcome&period;
| xref:btck/BlockValidationState/get-02.adoc[`get`] 
| Returns the owned C handle&period;
|===


== Protected Data Members

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



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