Recover a public key from a compact signature.

Synopsis

Declared in <pubkey.h>

bool
RecoverCompact(
    uint256 const& hash,
    std::vector<unsigned char> const& vchSig);

Return Value

true if a public key was recovered into this object.

Parameters

Name

Description

hash

The 32‐byte message hash that was signed.

vchSig

The compact signature to recover from.

Created with MrDocs