Sign an arbitrary message with the key for a public key hash.
Declared in <wallet/wallet.h>
SigningResult
SignMessage(
std::string const& message,
PKHash const& pkhash,
std::string& str_sig) const;
The signing result status.
| Name | Description |
|---|---|
| message | The message to sign. |
| pkhash | The public key hash whose key signs the message. |
| str_sig | Set to the resulting signature. |