MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetHash

Method GetHash

src/persistence/block.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "net.h"
12
13uint256 CBlockHeader::GetHash() const {
14 return ComputeSignatureHash();
15}
16
17void CBlockHeader::SetHeight(uint32_t height) {
18 this->height = height;

Callers 8

AddBlockTxMethod · 0.45
RemoveBlockTxMethod · 0.45
ComputeSignatureHashMethod · 0.45
BuildMerkleTreeMethod · 0.45
ReadBlockFromDiskFunction · 0.45
WriteToDiskMethod · 0.45
ReadFromDiskMethod · 0.45
GetBlockHashMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected