MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / ReadTxIndex

Method ReadTxIndex

src/txdb.cpp:168–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168bool CBlockTreeDB::ReadTxIndex(const uint256 &txid, CDiskTxPos &pos) {
169 return Read(make_pair(DB_TXINDEX, txid), pos);
170}
171
172bool CBlockTreeDB::WriteTxIndex(const std::vector<std::pair<uint256, CDiskTxPos> >&vect) {
173 CLevelDBBatch batch;

Callers 1

GetTransactionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected