MessageHash

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

NameDescription
messageThe message to hash.