Refactored Chain a lot to make it possible to test.
Added a CPU hard test for Chain, checking all current DB. Added an option to config file to set a count of checked top blocks on start.
This commit is contained in:
@@ -32,6 +32,7 @@ pub const DOMAIN_LIFETIME: i64 = 86400 * 365; // One year
|
||||
pub const ZONE_MAX_LENGTH: usize = 10;
|
||||
pub const MAX_RECONNECTS: u32 = 5;
|
||||
|
||||
pub const DB_NAME: &str = "blockchain.db";
|
||||
pub const CLASS_ZONE: &str = "zone";
|
||||
pub const CLASS_DOMAIN: &str = "domain";
|
||||
pub const ALFIS_DEBUG: &str = "ALFIS_DEBUG";
|
||||
|
||||
Reference in New Issue
Block a user