Add gossip behavior back to the coordinator

This commit is contained in:
Luke Parker
2025-01-03 14:00:20 -05:00
parent 3f3b0255f8
commit 985261574c
2 changed files with 70 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ use serai_cosign::SignedCosign;
const MAX_LIBP2P_REQRES_MESSAGE_SIZE: usize =
(tributary::BLOCK_SIZE_LIMIT * crate::p2p::heartbeat::BLOCKS_PER_BATCH) + 1024;
const PROTOCOL: &str = "/serai/coordinator";
const PROTOCOL: &str = "/serai/coordinator/reqres/1.0.0";
/// Requests which can be made via the request-response protocol.
#[derive(Clone, Copy, Debug, BorshSerialize, BorshDeserialize)]