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

Method GetPrevBlockHash

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

Source from the content-addressed store, hash-verified

105 int32_t GetVersion() const { return nVersion; }
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; }

Callers 6

AddToBlockIndexFunction · 0.80
AcceptBlockFunction · 0.80
ProcessBlockFunction · 0.80
VerifyRewardTxFunction · 0.80
CheckWorkFunction · 0.80
SetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected