From 8f5aaa849273e968da459ed2022cd8568f932d45 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 23 Apr 2024 09:32:44 -0400 Subject: [PATCH] New coordinator port, genesis --- coordinator/src/p2p.rs | 2 +- coordinator/src/tributary/spec.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coordinator/src/p2p.rs b/coordinator/src/p2p.rs index d147b588..9c4b3cd7 100644 --- a/coordinator/src/p2p.rs +++ b/coordinator/src/p2p.rs @@ -358,7 +358,7 @@ impl LibP2p { .with_behaviour(|_| behavior) .unwrap() .build(); - const PORT: u16 = 30563; // 5132 ^ (('c' << 8) | 'o') + const PORT: u16 = 30564; // 5132 ^ (('c' << 8) | 'o') swarm.listen_on(format!("/ip4/0.0.0.0/tcp/{PORT}").parse().unwrap()).unwrap(); let (send_send, mut send_recv) = mpsc::unbounded_channel(); diff --git a/coordinator/src/tributary/spec.rs b/coordinator/src/tributary/spec.rs index 8350dcfe..61c16a5f 100644 --- a/coordinator/src/tributary/spec.rs +++ b/coordinator/src/tributary/spec.rs @@ -74,7 +74,7 @@ impl TributarySpec { pub fn genesis(&self) -> [u8; 32] { // Calculate the genesis for this Tributary - let mut genesis = RecommendedTranscript::new(b"Serai Tributary Genesis Testnet 2"); + let mut genesis = RecommendedTranscript::new(b"Serai Tributary Genesis Testnet 2.1"); // This locks it to a specific Serai chain genesis.append_message(b"serai_block", self.serai_block); genesis.append_message(b"session", self.set.session.0.to_le_bytes());