Signs a message with the key for the given script.
Declared in <wallet/scriptpubkeyman.h>
virtual
SigningResult
SignMessage(
std::string const& message,
PKHash const& pkhash,
std::string& str_sig) const override;
The result of the signing attempt.
| Name | Description |
|---|---|
| message | The message to sign. |
| pkhash | The hash of the public key whose private key should sign. |
| str_sig | Filled with the produced signature on success. |