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