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

Method ReadLastBlockFile

src/persistence/blockdb.cpp:141–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 return last_block_file_cache.SetData(nFile);
140}
141bool CBlockDBCache::ReadLastBlockFile(int32_t &nFile) {
142 return last_block_file_cache.GetData(nFile);
143}
144
145bool CBlockDBCache::ReadTxIndex(const uint256 &txid, CDiskTxPos &pos) {
146 return tx_diskpos_cache.GetData(txid, pos);

Callers 1

LoadBlockIndexDBFunction · 0.80

Calls 1

GetDataMethod · 0.45

Tested by

no test coverage detected