CPubKey::RecoverCompact

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

NameDescription
hashThe 32-byte message hash that was signed.
vchSigThe compact signature to recover from.