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

Method GetVersion

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

Source from the content-addressed store, hash-verified

103 TxID ComputeSignatureHash() const;
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; }

Callers 1

CBlockIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected