Runs the requested consensus checks on the block.
Synopsis
Declared in <kernel/bitcoinkernel_wrapper.h>
bool
Check(
ConsensusParamsView const& consensus_params,
BlockCheckFlags flags,
BlockValidationState& state) const;
Return Value
True when the block passes the requested checks.
Parameters
Name |
Description |
consensus_params |
The consensus parameters to check against. |
flags |
Which checks to run. |
state |
Receives the validation result. |
Created with MrDocs