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

Method SetMerkleRootHash

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

Source from the content-addressed store, hash-verified

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; }
113 uint32_t GetNonce() const { return nNonce; }

Callers 7

GetBlockHeaderMethod · 0.80
GetBlockHashMethod · 0.80
GetBlockHeaderMethod · 0.80
CreateBlockRewardTxFunction · 0.80
CMainParamsMethod · 0.80
CTestNetParamsMethod · 0.80
CRegTestParamsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected