Change network address and magics.

This commit is contained in:
Sean Bowe 2016-10-18 16:52:07 -06:00
parent e1d7f0ec52
commit 577d4cc4ff
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
pub const NETWORK_MAGIC: [u8; 8] = [0xd8, 0x83, 0xd4, 0x02, 0x2e, 0x07, 0x54, 0x65];
pub const COORDINATOR_MAGIC: [u8; 8] = [0x94, 0xe1, 0xd5, 0xd7, 0x35, 0x60, 0x51, 0xc5];
pub const NETWORK_MAGIC: [u8; 8] = [0x83, 0xd4, 0x02, 0x2e, 0x07, 0x54, 0x65, 0xd8];
pub const COORDINATOR_MAGIC: [u8; 8] = [0xe1, 0xd5, 0xd7, 0x35, 0x60, 0x51, 0xc5, 0x94];
pub const NETWORK_ACK: [u8; 4] = [0xd0, 0x33, 0x8d, 0xcc];
pub const NETWORK_ACK: [u8; 4] = [0xcc, 0xd0, 0x33, 0x8d];
pub const USE_DUMMY_CS: bool = false;
pub const NETWORK_TIMEOUT: u64 = 60;

View File

@ -27,7 +27,7 @@ use rustc_serialize::{Decodable, Encodable};
pub const THREADS: usize = 8;
pub const DIRECTORY_PREFIX: &'static str = "/";
pub const ASK_USER_TO_RECORD_HASHES: bool = false;
const COORDINATOR_ADDR: &'static str = "mdr.z.cash:65530";
const COORDINATOR_ADDR: &'static str = "mpc847619423.z.cash:65530";
struct ConnectionHandler {
peerid: [u8; 8],