Fixed signers' calculation loop. Fixed block checks. Added trace logging level. Updated dependencies.

This commit is contained in:
Revertron
2022-05-12 14:50:31 +02:00
parent 84fc3e8d4a
commit 410bc9b7e4
7 changed files with 102 additions and 66 deletions
+2 -1
View File
@@ -35,6 +35,7 @@ pub const DB_NAME: &str = "blockchain.db";
pub const CLASS_ORIGIN: &str = "origin";
pub const CLASS_DOMAIN: &str = "domain";
pub const ALFIS_DEBUG: &str = "ALFIS_DEBUG";
pub const ALFIS_TRACE: &str = "ALFIS_TRACE";
/// Public nodes listen port
pub const LISTEN_PORT: u16 = 4244;
@@ -48,4 +49,4 @@ pub const MIN_CONNECTED_NODES_START_SYNC: usize = 4;
pub const MAX_READ_BLOCK_TIME: u128 = 100;
pub const MAX_RECONNECTS: u32 = 5;
pub const MAX_IDLE_SECONDS: u64 = 180;
pub const MAX_NODES: usize = 15;
pub const MAX_NODES: usize = 25;