mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Only have some nodes respond to latent heartbeats
Also only respond if they're more than 2 blocks behind to minimize redundant sending of blocks.
This commit is contained in:
@@ -1292,6 +1292,7 @@ pub async fn run<D: Db, Pro: Processors, P: P2p>(
|
||||
p2p.clone(),
|
||||
cosign_channel.clone(),
|
||||
tributary_event_listener_4,
|
||||
<Ristretto as Ciphersuite>::generator() * key.deref(),
|
||||
));
|
||||
|
||||
// Handle all messages from processors
|
||||
|
||||
Reference in New Issue
Block a user