Extract signature and check whether a block has a valid solution

Synopsis

Declared in <signet.h>

bool
CheckSignetBlockSolution(
    CBlock const& block,
    Consensus::Params const& consensusParams);

Return Value

true if the block carries a valid signet solution.

Parameters

Name

Description

block

The signet block to validate.

consensusParams

The consensus parameters carrying the signet challenge.

Created with MrDocs