Tuned some constants adn options.

pull/3/head v0.2.1
Revertron 3 years ago
parent 0d40f6599b
commit 9718fa8a81

@ -1,6 +1,6 @@
[package]
name = "alfis"
version = "0.2.0"
version = "0.2.1"
authors = ["Revertron <alfis@revertron.com>"]
edition = "2018"
build = "build.rs"

@ -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"]

@ -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;

Loading…
Cancel
Save