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

Method ReadTxIndex

src/persistence/blockdb.cpp:145–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145bool CBlockDBCache::ReadTxIndex(const uint256 &txid, CDiskTxPos &pos) {
146 return tx_diskpos_cache.GetData(txid, pos);
147}
148
149bool CBlockDBCache::SetTxIndex(const uint256 &txid, const CDiskTxPos &pos) {
150 return tx_diskpos_cache.SetData(txid, pos);

Callers 4

GetTxConfirmHeightFunction · 0.80
GetTransactionFunction · 0.80
GetTxDetailJSONFunction · 0.80
GetUtxoTxFromChainFunction · 0.80

Calls 1

GetDataMethod · 0.45

Tested by

no test coverage detected