Changes to tendermint config for better performance

This commit is contained in:
Greg Szabo 2017-08-22 16:32:03 -04:00
parent 36db612249
commit e6ed8e70ac
2 changed files with 6 additions and 1 deletions

View File

@ -13,6 +13,11 @@ laddr = "tcp://0.0.0.0:46657"
[mempool]
recheck = false
[consensus]
max_block_size_txs = 1000
create_empty_blocks = false
#timeout_propose = 10000
[p2p]
laddr = "tcp://0.0.0.0:46656"
{% if validators == true or validators == 'true' %}

View File

@ -9,7 +9,7 @@ Restart=on-failure
User={{service}}
Group={{service}}
PermissionsStartOnly=true
ExecStart=/usr/bin/tendermint node{{(service=='tendermint')|ternary(' --proxy_app=dummy','')}} --consensus.create_empty_blocks=false
ExecStart=/usr/bin/tendermint node{{(service=='tendermint')|ternary(' --proxy_app=dummy','')}}
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM