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

Method GetMerkleRootHash

src/persistence/block.h:109–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 uint256 GetPrevBlockHash() const { return prevBlockHash; }
108 void SetPrevBlockHash(uint256 prevBlockHash) { this->prevBlockHash = prevBlockHash; }
109 uint256 GetMerkleRootHash() const { return merkleRootHash; }
110 void SetMerkleRootHash(uint256 merkleRootHash) { this->merkleRootHash = merkleRootHash; }
111 uint32_t GetTime() const { return nTime; }
112 void SetTime(uint32_t time) { this->nTime = time; }

Callers 6

CheckBlockFunction · 0.80
CDiskBlockIndexMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BlockToJSONFunction · 0.80
GetTxDetailJSONFunction · 0.80
VerifyRewardTxFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64