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

Function CreateBlockIndex

src/test/miner_tests.cpp:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83};
84
85static CBlockIndex CreateBlockIndex(int nHeight)
86{
87 CBlockIndex index;
88 index.nHeight = nHeight;
89 index.pprev = chainActive.Tip();
90 return index;
91}
92
93static bool TestSequenceLocks(const CTransaction &tx, int flags)
94{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

TipMethod · 0.45

Tested by

no test coverage detected