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

Method getRawAddressRange

src/internal/hash_index.cpp:114–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 ranges::any_view<std::pair<MemoryView, MemoryView>> HashIndex::getRawAddressRange(AddressType::Enum type) {
115 return ColumnIterator(db.get(), getColumn(type).get());
116 }
117
118 ranges::optional<uint32_t> HashIndex::getPubkeyHashIndex(const uint160 &pubkeyhash) {
119 return lookupAddress<AddressType::PUBKEYHASH>(pubkeyhash);

Callers

nothing calls this directly

Calls 1

ColumnIteratorClass · 0.85

Tested by

no test coverage detected