Changed origin block index to 1. Added "locker" blocks - mining, exchange etc. Removed unnecesarry creation of 'zones' directory on startup. Changed bind port of DNS-UDP socket to random (fixes inability to start several copies of Alfis). Sped up block exchange by sending additional pings when we have more blocks than other peers. Fixed unnecesarry double requests of blocks. Totally reworked block checking on arrival. Added target tags for logging in main. Added a commandline flag to list all blocks in DB and exit.
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
pub const BLOCK_DIFFICULTY: u32 = 24;
|
||||
pub const BLOCK_DIFFICULTY: u32 = 20;
|
||||
pub const LOCKER_DIFFICULTY: u32 = 16;
|
||||
pub const CHAIN_VERSION: u32 = 1;
|
||||
pub const LOCKER_BLOCK_START: u64 = 5;
|
||||
pub const LOCKER_BLOCK_COUNT: u64 = 3;
|
||||
pub const LOCKER_BLOCK_INTERVAL: i64 = 300;
|
||||
|
||||
Reference in New Issue
Block a user