From 6c4b781ae7163dc2e4e32075194c454560bb98df Mon Sep 17 00:00:00 2001 From: boqiu <82121246@qq.com> Date: Mon, 29 Jul 2019 16:15:44 +0800 Subject: [PATCH] patch for v0.1.5 --- client/src/lib.rs | 2 +- core/src/consensus/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/lib.rs b/client/src/lib.rs index f7ea1f4519..f15f18b393 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -23,4 +23,4 @@ mod tests; /// Used in Genesis author to indicate testnet version /// Increase by one for every test net reset const TESTNET_VERSION: &'static str = - "000000000000000000000000000000000000000a"; + "100000000000000000000000000000000000000a"; // for version v0.1.5 patch 1 diff --git a/core/src/consensus/mod.rs b/core/src/consensus/mod.rs index 7a59392721..630a57324c 100644 --- a/core/src/consensus/mod.rs +++ b/core/src/consensus/mod.rs @@ -77,7 +77,7 @@ pub const ERA_DEFAULT_EPOCH_COUNT: u64 = 50000; // eras. const ERA_RECYCLE_TRANSACTION_DELAY: u64 = 20; // FIXME: We should use finality to determine the checkpoint moment instead. -const ERA_CHECKPOINT_GAP: u64 = 50000; +const ERA_CHECKPOINT_GAP: u64 = 500000; // A block can blame up to BLAME_BOUND ancestors that their states are // incorrect.