Problem: tendermint is an external service

Solution: Do not start tendermint on boot. It's up to the user to decide
how to start tendermint.
This commit is contained in:
vrde 2018-02-21 18:12:58 +01:00
parent 14d523efd5
commit be297f8b4f
No known key found for this signature in database
GPG Key ID: 6581C7C39B3D397D
1 changed files with 0 additions and 9 deletions

View File

@ -1,6 +1,4 @@
import logging
import subprocess
from os import getenv
import setproctitle
@ -44,13 +42,6 @@ def start():
# start message
logger.info(BANNER.format(bigchaindb.config['server']['bind']))
if int(getenv('BIGCHAINDB_START_TENDERMINT', 1)):
subprocess.Popen([
'tendermint',
'node',
'--consensus.create_empty_blocks=false',
])
# start websocket server
p_websocket_server = Process(name='ws',
target=websocket_server.start,