Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ GetHash
Method
GetHash
src/primitives/block.cpp:14–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
#include <sstream>
13
14
uint256 CBlockHeader::GetHash() const
15
{
16
return (HashWriter{} << *this).GetHash();
17
}
18
19
std::string CBlock::ToString() const
20
{
Callers
15
IsRBFOptIn
Function · 0.45
GetEntriesForConflicts
Function · 0.45
EntriesAndTxidsDisjoint
Function · 0.45
CheckEphemeralSpends
Function · 0.45
IsTopoSortedPackage
Function · 0.45
IsWellFormedPackage
Function · 0.45
IsChildWithParents
Function · 0.45
IsChildWithParentsTree
Function · 0.45
FindInPackageParents
Function · 0.45
PackageTRUCChecks
Function · 0.45
SingleTRUCChecks
Function · 0.45
TransactionRemovedFromMempool
Method · 0.45
Calls
no outgoing calls
Tested by
15
TestSimpleSpend
Function · 0.36
TestCoinsResult
Function · 0.36
BOOST_FIXTURE_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
add_coin
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
addCoin
Function · 0.36
MakeCoin
Function · 0.36
AddCoin
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_FIXTURE_TEST_CASE
Function · 0.36