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

Method SetTime

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

Source from the content-addressed store, hash-verified

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; }
114 void SetNonce(uint32_t nonce) { this->nNonce = nonce; }
115 uint32_t GetHeight() const { return height; }

Callers 9

UpdateTimeFunction · 0.80
GetBlockHeaderMethod · 0.80
GetBlockHashMethod · 0.80
GetBlockHeaderMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
ProduceBlockFunction · 0.80
CMainParamsMethod · 0.80
CTestNetParamsMethod · 0.80
CRegTestParamsMethod · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64