MCPcopy Create free account
hub / github.com/citp/BlockSci / addAddressOutput

Method addAddressOutput

tools/parser/address_db.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void AddressDB::addAddressOutput(const blocksci::RawAddress &address, const blocksci::InoutPointer &pointer) {
75 outputCache.emplace_back(address, pointer);
76 if (outputCache.size() >= cacheSize) {
77 clearOutputCache();
78 }
79}
80
81void AddressDB::clearOutputCache() {
82 db.addOutputAddresses(std::move(outputCache));

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected