Hashes a message for signing and verification in a manner that prevents inadvertently signing a transaction.

Synopsis

Declared in <common/signmessage.h>

uint256
MessageHash(std::string const& message);

Return Value

The hash of the message combined with the message magic.

Parameters

Name

Description

message

The message to hash.

Created with MrDocs