[#btck-BlockValidationStateApi-0c]
= xref:btck.adoc[btck]::BlockValidationStateApi
:relfileprefix: ../
:mrdocs:

CRTP mixin adding block&hyphen;validation&hyphen;state accessors shared by the view and owning types&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Derived&gt;
class BlockValidationStateApi;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/BlockValidationStateApi-0c/GetBlockValidationResult.adoc[`GetBlockValidationResult`] 
| Returns the specific block validation result&period;
| xref:btck/BlockValidationStateApi-0c/GetValidationMode.adoc[`GetValidationMode`] 
| Returns the overall validation outcome&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `Derived`
| 
|===

== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:btck/BlockValidationState.adoc[`BlockValidationState`] 
| Owning wrapper over a `btck&lowbar;BlockValidationState`, holding a block&apos;s validation outcome&period;
| xref:btck/BlockValidationStateView.adoc[`BlockValidationStateView`] 
| Non&hyphen;owning view over a `btck&lowbar;BlockValidationState`&period;
|===


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