diff --git a/Cargo.toml b/Cargo.toml index 7b8458b..3c97be8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "alfis" -version = "0.2.0" +version = "0.2.1" authors = ["Revertron "] edition = "2018" build = "build.rs" diff --git a/alfis.toml b/alfis.toml index b753c51..3ee2636 100644 --- a/alfis.toml +++ b/alfis.toml @@ -1,18 +1,18 @@ # Settings -origin = "00000DFBFFCFADC09751E7085872F9AE6464075E626401904D8C779E215A21B1" +origin = "0000002CE5D1D28A93B89ED426A70F337D6FB3A222C64585FB1159A397E9722F" version = 1 key_file = "default.key" listen = "[::]:4244" public = false # Bootstrap nodes -peers = ["test2-ip4.alfis.name:4244", "test2-ip6.alfis.name:4244"] +peers = ["test-ip4.alfis.name:4244", "test-ip6.alfis.name:4244"] # DNS server options [dns] -listen = "127.0.0.1:53" +listen = "127.0.0.1:5300" threads = 20 #AdGuard DNS servers to filter ads and trackers -#forwarders = ["94.140.14.14:53", "94.140.15.15:53"] +forwarders = ["94.140.14.14:53", "94.140.15.15:53"] #forwarders = ["[301:2522::53]:53", "[301:2923::53]:53"] -forwarders = ["[301:2522::53]:53", "[301:2923::53]:53", "94.140.14.14:53", "94.140.15.15:53"] +#forwarders = ["[301:2522::53]:53", "[301:2923::53]:53", "94.140.14.14:53", "94.140.15.15:53"] diff --git a/src/blockchain/constants.rs b/src/blockchain/constants.rs index 90b571f..40326b3 100644 --- a/src/blockchain/constants.rs +++ b/src/blockchain/constants.rs @@ -1,6 +1,6 @@ -pub const BLOCK_DIFFICULTY: u32 = 20; -pub const LOCKER_DIFFICULTY: u32 = 16; +pub const BLOCK_DIFFICULTY: u32 = 24; +pub const LOCKER_DIFFICULTY: u32 = 18; pub const CHAIN_VERSION: u32 = 1; -pub const LOCKER_BLOCK_START: u64 = 5; +pub const LOCKER_BLOCK_START: u64 = 10; pub const LOCKER_BLOCK_COUNT: u64 = 3; pub const LOCKER_BLOCK_INTERVAL: i64 = 300;