Skip to content

Commit

Permalink
Merge pull request #122 from BoostryJP/feature/identity_opt
Browse files Browse the repository at this point in the history
feat: Add identity parameter
  • Loading branch information
YoshihitoAso authored Dec 27, 2022
2 parents 3e69dac + 621ad2a commit ad2ba5b
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ibet-for-fin-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Move `genesis.json` and `static-nodes.json` for the validator network as follows

Initialize the node. You need to run only the first time.
```
$ docker run --name validatorInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
$ docker run --rm --name validatorInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
ghcr.io/boostryjp/ibet-fin-network/validator:{version} \
geth --datadir /eth --nousb init /eth/genesis.json
```
Expand Down Expand Up @@ -97,7 +97,7 @@ if a General node, the Bridge node must be set as the connection node.

Initialize the node. You need to run only the first time.
```
$ docker run --name generalInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
$ docker run --rm --name generalInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
ghcr.io/boostryjp/ibet-fin-network/general:{version} \
geth --datadir /eth --nousb init /eth/genesis.json
```
Expand Down
2 changes: 2 additions & 0 deletions ibet-for-fin-network/general/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ test ! -z "${rpccorsdomain}" && CORS_OPT="--http.corsdomain ${rpccorsdomain}"
test ! -z "${rpcvhosts}" && VHOST_OPT="--http.vhosts ${rpcvhosts}"
test ! -z "${maxpeers}" && PEERS_OPT="--maxpeers ${maxpeers}"
test ! -z "${syncmode}" && SYNCMODE_OPT="--syncmode ${syncmode}"
test ! -z "${identity}" && IDENTITY_OPT="--identity ${identity}"

GETH_CMD="geth \
--http \
--http.addr 0.0.0.0 \
--http.port 8545 \
${CORS_OPT} \
${IDENTITY_OPT} \
--datadir /eth \
--port 30303 \
--http.api admin,debug,miner,txpool,eth,net,web3,istanbul,personal \
Expand Down
2 changes: 2 additions & 0 deletions ibet-for-fin-network/validator/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ mkdir -p /eth/geth
test ! -z "${rpccorsdomain}" && CORS_OPT="--http.corsdomain ${rpccorsdomain}"
test ! -z "${rpcvhosts}" && VHOST_OPT="--http.vhosts ${rpcvhosts}"
test ! -z "${maxpeers}" && PEERS_OPT="--maxpeers ${maxpeers}"
test ! -z "${identity}" && IDENTITY_OPT="--identity ${identity}"

GETH_CMD="geth \
--http \
--http.addr 0.0.0.0 \
--http.port 8545 \
${CORS_OPT} \
${IDENTITY_OPT} \
--datadir /eth \
--port 30303 \
--http.api admin,debug,miner,txpool,eth,net,web3,istanbul,personal \
Expand Down
4 changes: 2 additions & 2 deletions ibet-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Move `genesis.json` and `static-nodes.json` for the validator network as follows

Initialize the node. You need to run only the first time.
```
$ docker run --name validatorInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
$ docker run --rm --name validatorInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
ghcr.io/boostryjp/ibet-network/validator:{version} \
geth --datadir /eth --nousb init /eth/genesis.json_init
```
Expand Down Expand Up @@ -100,7 +100,7 @@ if a General node, the Bridge node must be set as the connection node.

Initialize the node. You need to run only the first time.
```
$ docker run --name generalInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
$ docker run --rm --name generalInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
ghcr.io/boostryjp/ibet-network/general:{version} \
geth --datadir /eth --nousb init /eth/genesis.json_init
```
Expand Down
2 changes: 2 additions & 0 deletions ibet-network/general/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ test ! -z "${rpccorsdomain}" && CORS_OPT="--http.corsdomain ${rpccorsdomain}"
test ! -z "${rpcvhosts}" && VHOST_OPT="--http.vhosts ${rpcvhosts}"
test ! -z "${maxpeers}" && PEERS_OPT="--maxpeers ${maxpeers}"
test ! -z "${syncmode}" && SYNCMODE_OPT="--syncmode ${syncmode}"
test ! -z "${identity}" && IDENTITY_OPT="--identity ${identity}"

GETH_CMD="geth \
--http \
--http.addr 0.0.0.0 \
--http.port 8545 \
${CORS_OPT} \
${IDENTITY_OPT} \
--datadir /eth \
--port 30303 \
--http.api admin,debug,miner,txpool,eth,net,web3,istanbul,personal \
Expand Down
2 changes: 2 additions & 0 deletions ibet-network/validator/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ mkdir -p /eth/geth
test ! -z "${rpccorsdomain}" && CORS_OPT="--http.corsdomain ${rpccorsdomain}"
test ! -z "${rpcvhosts}" && VHOST_OPT="--http.vhosts ${rpcvhosts}"
test ! -z "${maxpeers}" && PEERS_OPT="--maxpeers ${maxpeers}"
test ! -z "${identity}" && IDENTITY_OPT="--identity ${identity}"

GETH_CMD="geth \
--http \
--http.addr 0.0.0.0 \
--http.port 8545 \
${CORS_OPT} \
${IDENTITY_OPT} \
--datadir /eth \
--port 30303 \
--http.api admin,debug,miner,txpool,eth,net,web3,istanbul,personal \
Expand Down
4 changes: 2 additions & 2 deletions test-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Move `genesis.json` and `static-nodes.json` for the Validator network.

Initialize the node. You need to run only the first time.
```
$ docker run --name validatorInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
$ docker run --rm --name validatorInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
ghcr.io/boostryjp/ibet-testnet/validator:{version} \
geth --datadir /eth --nousb init /eth/genesis.json_init
```
Expand Down Expand Up @@ -100,7 +100,7 @@ if a General node, the Bridge node must be set as the connection node.

Initialize the node. You need to run only the first time.
```
$ docker run --name generalInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
$ docker run --rm --name generalInit -e PRIVATE_CONFIG=ignore -v {mount_directory}:/eth \
ghcr.io/boostryjp/ibet-testnet/general:{version} \
geth --datadir /eth --nousb init /eth/genesis.json_init
```
Expand Down
2 changes: 2 additions & 0 deletions test-network/general/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ test ! -z "${rpccorsdomain}" && CORS_OPT="--http.corsdomain ${rpccorsdomain}"
test ! -z "${rpcvhosts}" && VHOST_OPT="--http.vhosts ${rpcvhosts}"
test ! -z "${maxpeers}" && PEERS_OPT="--maxpeers ${maxpeers}"
test ! -z "${syncmode}" && SYNCMODE_OPT="--syncmode ${syncmode}"
test ! -z "${identity}" && IDENTITY_OPT="--identity ${identity}"

GETH_CMD="geth \
--http \
--http.addr 0.0.0.0 \
--http.port 8545 \
${CORS_OPT} \
${IDENTITY_OPT} \
--datadir /eth \
--port 30303 \
--http.api admin,debug,miner,txpool,eth,net,web3,istanbul,personal \
Expand Down
2 changes: 2 additions & 0 deletions test-network/validator/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ mkdir -p /eth/geth
test ! -z "${rpccorsdomain}" && CORS_OPT="--http.corsdomain ${rpccorsdomain}"
test ! -z "${rpcvhosts}" && VHOST_OPT="--http.vhosts ${rpcvhosts}"
test ! -z "${maxpeers}" && PEERS_OPT="--maxpeers ${maxpeers}"
test ! -z "${identity}" && IDENTITY_OPT="--identity ${identity}"

GETH_CMD="geth \
--http \
--http.addr 0.0.0.0 \
--http.port 8545 \
${CORS_OPT} \
${IDENTITY_OPT} \
--datadir /eth \
--port 30303 \
--http.api admin,debug,miner,txpool,eth,net,web3,istanbul,personal \
Expand Down

0 comments on commit ad2ba5b

Please sign in to comment.