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

Function RANGES_FOR

example/performance.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 auto block = chain[height];
18 int64_t total = 0;
19 RANGES_FOR(auto tx, block) {
20 RANGES_FOR(auto output, tx.outputs()) {
21 if (!output.isSpent()) {
22 total += output.getValue();
23 }
24 }
25 }
26 sums.push_back(total);
27 }
28 return sums;

Callers

nothing calls this directly

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected