Signs a message with the key for the given script.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

virtual
SigningResult
SignMessage(
    std::string const& message,
    PKHash const& pkhash,
    std::string& str_sig) const override;

Return Value

The result of the signing attempt.

Parameters

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.

Created with MrDocs