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

Method GetHash

src/blockfilter.cpp:258–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258uint256 BlockFilter::GetHash() const
259{
260 const std::vector<unsigned char>& data = GetEncodedFilter();
261
262 uint256 result;
263 CHash256().Write(data).Finalize(result);
264 return result;
265}
266
267uint256 BlockFilter::ComputeHeader(const uint256& prev_header) const
268{

Callers 15

GetBlockHashMethod · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
existsMethod · 0.45
removeForBlockMethod · 0.45
TxToUnivFunction · 0.45
SerializeDBFunction · 0.45
DeserializeDBFunction · 0.45
CheckPeginTxFunction · 0.45

Calls 3

CHash256Class · 0.85
FinalizeMethod · 0.45
WriteMethod · 0.45

Tested by 1

TestBlockValidityFunction · 0.36