Skip to content
Commit a86e9535 authored by Adrian Catangiu's avatar Adrian Catangiu Committed by GitHub
Browse files

BEEFY: optimize voter event loop for fewer 'active' wakeups (#12760)



* client/beefy: remove high-freq network events from main loop

Network events are many and very frequent, remove the net-event-stream
from the main voter loop and drastically reduce BEEFY voter task
'wakeups'.

Instead have the `GossipValidator` track known peers as it already
has callbacks for that coming from `GossipEngine`.

Signed-off-by: default avataracatangiu <[email protected]>
parent 3e48c4bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment