-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'extra-rest/v2.4.x' of https://github.com/bandprotocol/c…
…hain into extra-rest/v2.5.x
- Loading branch information
Showing
9 changed files
with
76 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,23 @@ cp /chain/docker-config/$1/node_key.json ~/.band/config/node_key.json | |
cp /chain/docker-config/genesis.json ~/.band/config/genesis.json | ||
cp -r /chain/docker-config/files ~/.band | ||
|
||
sed -E -i \ | ||
"s/timeout_commit = \".*\"/timeout_commit = \"3s\"/" \ | ||
~/.band/config/config.toml | ||
|
||
if [ "$1" == "query-node" ];then | ||
cp /chain/docker-config/app.toml ~/.band/config/app.toml | ||
fi | ||
|
||
if [ "$1" == "emitter" ];then | ||
sleep 60 | ||
bandd start --with-emitter test@172.18.0.31:9092 \ | ||
--p2p.persistent_peers 11392b605378063b1c505c0ab123f04bd710d7d7@172.18.0.11:26656,0851086afcd835d5a6fb0ffbf96fcdf74fec742e@172.18.0.12:26656,63808bd64f2ec19acb2a494c8ce8467c595f6fba@172.18.0.14:26656,7b58b086dd915a79836eb8bfa956aeb9488d13b0@172.18.0.13:26656 | ||
bandd start --with-emitter test@kafka:9092 \ | ||
--p2p.persistent_peers 11392b605378063b1c505c0ab123f04bd710d7d7@multi-validator1-node:26656,0851086afcd835d5a6fb0ffbf96fcdf74fec742e@multi-validator2-node:26656,63808bd64f2ec19acb2a494c8ce8467c595f6fba@multi-validator3-node:26656,7b58b086dd915a79836eb8bfa956aeb9488d13b0@multi-validator4-node:26656 | ||
elif [ "$1" == "query-node" ];then | ||
bandd start --rpc.laddr tcp://0.0.0.0:26657 \ | ||
--p2p.persistent_peers [email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656 --pruning nothing \ | ||
--with-request-search=sqlite3:rqsearch.db \ | ||
--p2p.persistent_peers 11392b605378063b1c505c0ab123f04bd710d7d7@multi-validator1-node:26656,0851086afcd835d5a6fb0ffbf96fcdf74fec742e@multi-validator2-node:26656,63808bd64f2ec19acb2a494c8ce8467c595f6fba@multi-validator3-node:26656,7b58b086dd915a79836eb8bfa956aeb9488d13b0@multi-validator4-node:26656 --with-request-search=sqlite3:rqsearch.db \ | ||
--with-pricer=1 | ||
else | ||
bandd start --rpc.laddr tcp://0.0.0.0:26657 \ | ||
--p2p.persistent_peers 11392b605378063b1c505c0ab123f04bd710d7d7@172.18.0.11:26656,0851086afcd835d5a6fb0ffbf96fcdf74fec742e@172.18.0.12:26656,63808bd64f2ec19acb2a494c8ce8467c595f6fba@172.18.0.14:26656,7b58b086dd915a79836eb8bfa956aeb9488d13b0@172.18.0.13:26656 | ||
--p2p.persistent_peers 11392b605378063b1c505c0ab123f04bd710d7d7@multi-validator1-node:26656,0851086afcd835d5a6fb0ffbf96fcdf74fec742e@multi-validator2-node:26656,63808bd64f2ec19acb2a494c8ce8467c595f6fba@multi-validator3-node:26656,7b58b086dd915a79836eb8bfa956aeb9488d13b0@multi-validator4-node:26656 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.