CheckSignetBlockSolution

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

NameDescription
blockThe signet block to validate.
consensusParamsThe consensus parameters carrying the signet challenge.