[#btck-Block-Check] = xref:btck.adoc[btck]::xref:btck/Block.adoc[Block]::Check :relfileprefix: ../../ :mrdocs: Runs the requested consensus checks on the block. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool Check( xref:btck/ConsensusParamsView.adoc[ConsensusParamsView] const& consensus_params, xref:btck/BlockCheckFlags.adoc[BlockCheckFlags] flags, xref:btck/BlockValidationState.adoc[BlockValidationState]& state) const; ---- == Return Value True when the block passes the requested checks. == Parameters [cols="1,4"] |=== | Name| Description | *consensus_params* | The consensus parameters to check against. | *flags* | Which checks to run. | *state* | Receives the validation result. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#