[#CPubKey-RecoverCompact] = xref:CPubKey.adoc[CPubKey]::RecoverCompact :relfileprefix: ../ :mrdocs: Recover a public key from a compact signature. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool RecoverCompact( xref:uint256.adoc[uint256] const& hash, std::vector<unsigned char> const& vchSig); ---- == Return Value true if a public key was recovered into this object. == Parameters [cols="1,4"] |=== | Name| Description | *hash* | The 32‐byte message hash that was signed. | *vchSig* | The compact signature to recover from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#