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

Method SetVersion

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

Source from the content-addressed store, hash-verified

104 int64_t GetBlockTime() const { return (int64_t)nTime; }
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; }

Callers 3

GetBlockHeaderMethod · 0.45
GetBlockHashMethod · 0.45
GetBlockHeaderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected