diff --git a/alfis.toml b/alfis.toml index 6d47f4e..c0d96db 100644 --- a/alfis.toml +++ b/alfis.toml @@ -1,5 +1,5 @@ # Settings -origin = "0000000D48E05DAB6B26C58094A2AF65563D1DB4EECAF18663B01CE77152E56B" +origin = "00000102C2F9BFD2803284D93327F089D60FC72A06F19AF2384567F2646B8348" key_file = "default.key" listen = "[::]:4244" public = false diff --git a/src/blockchain/hash_utils.rs b/src/blockchain/hash_utils.rs index ed751a4..c5738df 100644 --- a/src/blockchain/hash_utils.rs +++ b/src/blockchain/hash_utils.rs @@ -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; -} +} \ No newline at end of file diff --git a/src/commons/constants.rs b/src/commons/constants.rs index 748cb42..8d50d8e 100644 --- a/src/commons/constants.rs +++ b/src/commons/constants.rs @@ -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;