Skip to content

Commit

Permalink
update config file comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust authored and HaoXuan40404 committed Dec 23, 2019
1 parent 0b599e4 commit 4132a19
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .ci/code_security_audit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

scan_code_script="python ~/cobra/cobra.py -t "
ignore_files=(ci_one_click.sh code_security_audit.sh .travis.yml ci_check.sh ci_check_gm.sh .circleci/config.yml)
ignore_files=(ci_one_click.sh code_security_audit.sh .travis.yml ci_check.sh ci_check_gm.sh .circleci/config.yml group.i.ini)

LOG_ERROR() {
content=${1}
Expand Down
9 changes: 2 additions & 7 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,10 @@ install_all_deps() {
platform=$(echo $?)
# platform=$(get_platform)
if [ ${platform} -eq ${Ubuntu_Platform} ]; then
sudo apt-get -y install python-pip
sudo apt-get -y install curl
sudo apt-get -y install openssl
sudo apt-get -y install python-pip curl openssl
# sudo apt-get -y install nc
elif [ ${platform} -eq ${Centos_Platform} ]; then
sudo yum install -y python-pip
sudo yum -y install openssl
sudo yum -y install which
sudo yum -y install curl
sudo yum install -y python-pip openssl curl which
else
LOG_ERROR "Unsupported Platform"
exit 1
Expand Down
3 changes: 0 additions & 3 deletions tpl/group.i.genesis
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@
id=${index}
timestamp=${time_stamp}

; consensus configuration
[consensus]
; consensus algorithm type, now support PBFT(consensus_type=pbft) and Raft(consensus_type=raft)
consensus_type=pbft
; the max number of transactions of a block
max_trans_num=1000
; the node id of leaders
node.0=

[state]
; support mpt/storage
type=storage

; tx gas limit
Expand Down
2 changes: 1 addition & 1 deletion tpl/group.i.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;min_block_generation_time=500
;enable_dynamic_block_size=true
[storage]
; storage db type, rocksdb / mysql / external, rocksdb is recommended
; storage db type, rocksdb / mysql, rocksdb is recommended, external will be deprecated
type=rocksdb
; max cache memeory, MB
max_capacity=256
Expand Down

0 comments on commit 4132a19

Please sign in to comment.