Tuned up difficulty constant for comfortable use with new algo.

Mined new origin block to start over test network.
pull/6/head v0.3.4
Revertron 3 years ago
parent c5204aaed1
commit 4ddacd2f57

@ -1,5 +1,5 @@
# Settings
origin = "0000000D48E05DAB6B26C58094A2AF65563D1DB4EECAF18663B01CE77152E56B"
origin = "00000102C2F9BFD2803284D93327F089D60FC72A06F19AF2384567F2646B8348"
key_file = "default.key"
listen = "[::]:4244"
public = false

@ -60,4 +60,4 @@ pub fn hash_is_good(hash: &[u8], difficulty: usize) -> bool {
let hash_int = BigUint::from_bytes_be(&hash);
return hash_int < target;
}
}

@ -1,12 +1,12 @@
pub const CHAIN_VERSION: u32 = 2;
pub const ZONE_DIFFICULTY: u32 = 26;
pub const BLOCK_DIFFICULTY: u32 = 24;
pub const LOCKER_DIFFICULTY: u32 = 18;
pub const ZONE_DIFFICULTY: u32 = 22;
pub const BLOCK_DIFFICULTY: u32 = 20;
pub const LOCKER_DIFFICULTY: u32 = 14;
pub const KEYSTORE_DIFFICULTY: usize = 23;
pub const LOCKER_BLOCK_START: u64 = 12;
pub const LOCKER_BLOCK_LOCKERS: u64 = 6;
pub const LOCKER_BLOCK_START: u64 = 16;
pub const LOCKER_BLOCK_LOCKERS: u64 = 7;
pub const LOCKER_BLOCK_SIGNS: u64 = 4;
pub const LOCKER_BLOCK_TIME: i64 = 300;
pub const LOCKER_BLOCK_INTERVAL: u64 = 50;

Loading…
Cancel
Save