mirror of
https://github.com/serai-dex/serai.git
synced 2025-02-03 19:56:36 +00:00
New coordinator port, genesis
This commit is contained in:
parent
93ba8d840a
commit
8f5aaa8492
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue