Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ MessageHash
Function
MessageHash
src/common/signmessage.cpp:73–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
}
72
73
uint256 MessageHash(const std::string& message)
74
{
75
HashWriter hasher{};
76
hasher << MESSAGE_MAGIC << message;
77
78
return hasher.GetHash();
79
}
80
81
std::string SigningResultString(const SigningResult res)
82
{
Callers
4
BOOST_AUTO_TEST_CASE
Function · 0.85
message.cpp
File · 0.85
MessageVerify
Function · 0.85
MessageSign
Function · 0.85
Calls
1
GetHash
Method · 0.45
Tested by
1
BOOST_AUTO_TEST_CASE
Function · 0.68