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

Method SetPrevBlockHash

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

Source from the content-addressed store, hash-verified

106 void SetVersion(int32_t nVersion) { this->nVersion = nVersion; }
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; }

Callers 7

GetBlockHeaderMethod · 0.80
GetBlockHashMethod · 0.80
GetBlockHeaderMethod · 0.80
CMainParamsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected