From 5eea030018314c22f67221507de460d249426dd7 Mon Sep 17 00:00:00 2001 From: Gao Bicheng Date: Mon, 14 May 2018 17:19:12 +0800 Subject: [PATCH] [skip ci] add comment about time interval --- cita-chain/core/src/libchain/chain.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cita-chain/core/src/libchain/chain.rs b/cita-chain/core/src/libchain/chain.rs index aef66482b..86a2fc4cb 100644 --- a/cita-chain/core/src/libchain/chain.rs +++ b/cita-chain/core/src/libchain/chain.rs @@ -375,6 +375,8 @@ impl Chain { state_db: state_db, polls_filter: Arc::new(Mutex::new(PollManager::default())), nodes: RwLock::new(Vec::new()), + // need to be cautious here + // because it's not read from the config file block_interval: RwLock::new(3000), block_gas_limit: AtomicUsize::new(18_446_744_073_709_551_615), account_gas_limit: RwLock::new(ProtoAccountGasLimit::new()),