MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / stopWork

Method stopWork

src/thinblock.cpp:149–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void ThinBlockWorker::stopWork(const uint256& block) {
150 if (!isWorkingOn(block))
151 return;
152
153 mg.delWorker(block, *this);
154 blocks.erase(block);
155 rerequesting.erase(block);
156}
157
158void ThinBlockWorker::stopAllWork() {
159 for (auto b : blocks)

Callers 9

handleReRequestFailedFunction · 0.45
operator()Method · 0.45
removeIfExistsMethod · 0.45
rejectBlockMethod · 0.45
setToWorkMethod · 0.45
requestConnectHeadersMethod · 0.45
operator()Method · 0.45
ProcessMessageFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 2

delWorkerMethod · 0.80
eraseMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36