Genesis block and new seeds

This commit is contained in:
Ignotus Peverell 2018-07-08 18:31:06 +01:00
parent a7cde3fe2b
commit 34cf6ee3db
No known key found for this signature in database
GPG key ID: 99CD25F39F8F8211
2 changed files with 11 additions and 12 deletions

View file

@ -114,19 +114,20 @@ pub fn genesis_testnet3() -> core::Block {
timestamp: time::Tm { timestamp: time::Tm {
tm_year: 2018 - 1900, tm_year: 2018 - 1900,
tm_mon: 6, tm_mon: 6,
tm_mday: 2, tm_mday: 8,
tm_hour: 0, tm_hour: 18,
..time::empty_tm() ..time::empty_tm()
}, },
total_difficulty: Difficulty::from_num(global::initial_block_difficulty()), total_difficulty: Difficulty::from_num(global::initial_block_difficulty()),
nonce: 0, nonce: 4956988373127691,
pow: core::Proof::new(vec![ pow: core::Proof::new(vec![
0x1940730, 0x333b9d0, 0x4739d6f, 0x4c6cfb1, 0x6e3d6c3, 0x74408a3, 0x7ba2bd2, 0xa420dc, 0xc8ffee, 0x10e433e, 0x1de9428, 0x2ed4cea, 0x52d907b,
0x83e2024, 0x8ca22b5, 0x9d39ab8, 0xb6646dd, 0xc6698b6, 0xc6f78fe, 0xc99b662, 0x5af0e3f, 0x6b8fcae, 0x8319b53, 0x845ca8c, 0x8d2a13e, 0x8d6e4cc,
0xcf2ae8c, 0xcf41eed, 0xdd073e6, 0xded6af8, 0xf08d1a5, 0x1156a144, 0x11d1160a, 0x9349e8d, 0xa7a33c5, 0xaeac3cb, 0xb193e23, 0xb502e19, 0xb5d9804,
0x131bb0a5, 0x137ad703, 0x13b0831f, 0x1421683f, 0x147e3c1f, 0x1496fda0, 0x150ba22b, 0xc9ac184, 0xd4f4de3, 0xd7a23b8, 0xf1d8660, 0xf443756, 0x10b833d2,
0x15cc5bc6, 0x16edf697, 0x17ced40c, 0x17d84f9e, 0x18a515c1, 0x19320d9c, 0x19da4f6d, 0x11418fc5, 0x11b8aeaf, 0x131836ec, 0x132ab818, 0x13a46a55, 0x13df89fe,
0x1b50bcb1, 0x1b8bc72f, 0x1c7b6964, 0x1d07b3a9, 0x1d189d4d, 0x1d1f9a15, 0x1dafcd41, 0x145d65b5, 0x166f9c3a, 0x166fe0ef, 0x178cb36f, 0x185baf68, 0x1bbfe563,
0x1bd637b4, 0x1cfc8382, 0x1d1ed012, 0x1e391ca5, 0x1e999b4c, 0x1f7c6d21,
]), ]),
..Default::default() ..Default::default()
}, },

View file

@ -34,9 +34,7 @@ use util::LOGGER;
const SEEDS_URL: &'static str = "http://grin-tech.org/seeds.txt"; const SEEDS_URL: &'static str = "http://grin-tech.org/seeds.txt";
// DNS Seeds with contact email associated // DNS Seeds with contact email associated
const DNS_SEEDS: &'static [&'static str] = &[ const DNS_SEEDS: &'static [&'static str] = &[
"seed.grin-tech.org", // igno.peverell@protonmail.com "t3.seed.grin-tech.org", // igno.peverell@protonmail.com
"seed.grin.lesceller.com", // q.lesceller@gmail.com
"grin-seed.owncrypto.de", // roll@yourowncryp.to
]; ];
pub fn connect_and_monitor( pub fn connect_and_monitor(