MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / LOCKS_EXCLUDED

Function LOCKS_EXCLUDED

src/validation.cpp:3325–3331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3323}
3324
3325static void LimitValidationInterfaceQueue(ValidationSignals& signals) LOCKS_EXCLUDED(cs_main) {
3326 AssertLockNotHeld(cs_main);
3327
3328 if (signals.CallbacksPending() > 10) {
3329 signals.SyncWithValidationInterfaceQueue();
3330 }
3331}
3332
3333bool Chainstate::ActivateBestChain(BlockValidationState& state, std::shared_ptr<const CBlock> pblock)
3334{

Callers

nothing calls this directly

Calls 2

CallbacksPendingMethod · 0.80

Tested by

no test coverage detected