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

Function RANGES_FOR

example/example.cpp:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 for (auto block : chain) {
40 blockCount += 1;
41 RANGES_FOR(auto tx, block) {
42 txCount += 1;
43 inputCount += tx.inputCount();
44 outputCount += tx.outputCount();
45 }
46 }
47
48 std::cout << "Chain contains:" << std::endl;

Callers

nothing calls this directly

Calls 2

inputCountMethod · 0.80
outputCountMethod · 0.80

Tested by

no test coverage detected