Skip to content

Commit

Permalink
Merged in comments (pull request #905)
Browse files Browse the repository at this point in the history
add comment about time interval

Approved-by: zhangyaning <[email protected]>
  • Loading branch information
volzkzg authored and zhangyaning committed May 14, 2018
2 parents 362367f + 5eea030 commit 3ad681e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cita-chain/core/src/libchain/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit 3ad681e

Please sign in to comment.