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

Method IsTxAvailable

src/blockencodings.cpp:170–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170bool PartiallyDownloadedBlock::IsTxAvailable(size_t index) const {
171 assert(!header.IsNull());
172 assert(index < txn_available.size());
173 return txn_available[index] != nullptr;
174}
175
176ReadStatus PartiallyDownloadedBlock::FillBlock(CBlock& block, const std::vector<CTransactionRef>& vtx_missing) {
177 assert(!header.IsNull());

Callers 2

ProcessMessageFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 2

IsNullMethod · 0.45
sizeMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64