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

Method doAll

tools/parser/block_processor.cpp:670–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668 }
669
670 void doAll() {
671 bool success = true;
672 while (success) {
673 success = false;
674 for (auto &stage : stages) {
675 success |= stage->processNext();
676 }
677 }
678
679 for (auto &stage : stages) {
680 if (stage->prevFinished() && stage->inputQueue.empty()) {
681 stage->complete();
682 stage->isDone = true;
683 }
684 }
685 }
686 // inputProcessingDone
687 void run() {
688 using namespace std::chrono_literals;

Callers

nothing calls this directly

Calls 4

prevFinishedMethod · 0.80
processNextMethod · 0.45
emptyMethod · 0.45
completeMethod · 0.45

Tested by

no test coverage detected