MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / TestTime

Function TestTime

src/test/versionbits_tests.cpp:15–15  ·  view source on GitHub ↗

Define a virtual block time, one block per 10 minutes after Nov 14 2014, 0:55:36am */

Source from the content-addressed store, hash-verified

13
14/* Define a virtual block time, one block per 10 minutes after Nov 14 2014, 0:55:36am */
15static int32_t TestTime(int nHeight) { return 1415926536 + 600 * nHeight; }
16
17static const Consensus::Params paramsDummy = Consensus::Params();
18

Callers 3

BeginTimeMethod · 0.85
EndTimeMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected