Update package.json && Fix start.sh script

This commit is contained in:
Bastien 2021-02-02 18:01:23 +01:00
parent 91d4017aa6
commit 2d872bda47
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
"locutus": "^2.0.12",
"mysql2": "^1.6.1",
"node-worker-threads-pool": "^1.4.2",
"typescript": "~3.9.7",
"ws": "^7.3.1"
},
"devDependencies": {

View File

@ -15,7 +15,7 @@ __ELECTRS_MAINNET_HTTP_PORT__=${ELECTRS_PORT:=50002}
__MYSQL_HOST__=${MYSQL_HOST:=127.0.0.1}
__MYSQL_PORT__=${MYSQL_PORT:=3306}
mkdir __MEMPOOL_BACKEND_CACHE_DIR__
mkdir "${__MEMPOOL_BACKEND_CACHE_DIR__}"
sed -i "s/__BITCOIN_MAINNET_RPC_HOST__/${__BITCOIN_MAINNET_RPC_HOST__}/g" mempool-config.json
sed -i "s/__BITCOIN_MAINNET_RPC_PORT__/${__BITCOIN_MAINNET_RPC_PORT__}/g" mempool-config.json