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

Method getNewAddressIndex

tools/parser/address_state.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62uint32_t AddressState::getNewAddressIndex(blocksci::DedupAddressType::Enum type) {
63 auto &count = scriptIndexes[static_cast<uint8_t>(type)];
64 auto scriptNum = count;
65 count++;
66 return scriptNum;
67}
68
69void AddressState::reset(const blocksci::State &state) {
70 reloadBloomFilters();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected