MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetHash

Method GetHash

src/primitives/block.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21uint256 CBlockHeader::GetHash() const
22{
23 return SerializeHash(*this);
24}
25
26std::string CBlock::ToString() const
27{

Callers 15

IsRBFOptInFunction · 0.45
GetEntriesForConflictsFunction · 0.45
HasNoNewUnconfirmedFunction · 0.45
EntriesAndTxidsDisjointFunction · 0.45
CheckPackageFunction · 0.45
IsChildWithParentsFunction · 0.45
processTransactionMethod · 0.45
processBlockTxMethod · 0.45
NotifyTransactionMethod · 0.45
CInputCoinMethod · 0.45

Calls 1

SerializeHashFunction · 0.85

Tested by 15

TestSimpleSpendFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
add_coinFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
FUZZ_TARGET_INITFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BuildTxsFunction · 0.36
CheckFilterLookupsFunction · 0.36
CreateBlockMethod · 0.36