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