1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 17:50:13 +01:00

renamed pond -> spree, lake -> nile

This commit is contained in:
Sebastian Gerske 2018-12-06 10:58:28 +01:00
parent 306585118b
commit d6577aa692
30 changed files with 28 additions and 29 deletions

View File

@ -16,12 +16,12 @@ services:
--unsafe-expose --unsafe-expose
--unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e --unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e
volumes: volumes:
- ../networks/lake/config:/home/parity/parity/config - ../networks/nile/config:/home/parity/parity/config
- keeper-node:/home/parity/.local/share/io.parity.ethereum/ - keeper-node:/home/parity/.local/share/io.parity.ethereum/
- ../networks/lake/authorities/validator0.json:/home/parity/.local/share/io.parity.ethereum/keys/lake/validator.json - ../networks/nile/authorities/validator0.json:/home/parity/.local/share/io.parity.ethereum/keys/nile/validator.json
- ../networks/lake/keys:/home/parity/.local/share/io.parity.ethereum/keys/lake - ../networks/nile/keys:/home/parity/.local/share/io.parity.ethereum/keys/nile
- ../networks/lake/authorities/validator0.pwd:/home/parity/parity/validator.pwd - ../networks/nile/authorities/validator0.pwd:/home/parity/parity/validator.pwd
- ../networks/lake/node0.network.key:/home/parity/.local/share/io.parity.ethereum/network/key - ../networks/nile/node0.network.key:/home/parity/.local/share/io.parity.ethereum/network/key
ports: ports:
- 8545:8545 - 8545:8545
networks: networks:

View File

@ -13,9 +13,9 @@ services:
--jsonrpc-hosts all --jsonrpc-hosts all
--jsonrpc-apis all --jsonrpc-apis all
volumes: volumes:
- ../networks/pond/config:/home/parity/parity/config - ../networks/spree/config:/home/parity/parity/config
- ../networks/pond/keys/validator.pwd:/home/parity/parity/validator.pwd - ../networks/spree/keys/validator.pwd:/home/parity/parity/validator.pwd
- ../networks/pond/keys:/home/parity/.local/share/io.parity.ethereum/keys/pond - ../networks/spree/keys:/home/parity/.local/share/io.parity.ethereum/keys/spree
ports: ports:
- 8545:8545 - 8545:8545
networks: networks:

View File

@ -10,9 +10,9 @@ services:
--jsonrpc-hosts all --jsonrpc-hosts all
--jsonrpc-apis all --jsonrpc-apis all
volumes: volumes:
- ../parity/secret-store/config/:/etc/parity/secretstore/ - ../networks/secret-store/config/:/etc/parity/secretstore/
- secret-store:/secret-store/ - secret-store:/secret-store/
- ../parity/secret-store/keys/:/secret-store/keys/secretstore/ - ../networks/secret-store/keys/:/secret-store/keys/secretstore/
ports: ports:
- 12000:12000 - 12000:12000
- 12001 - 12001
@ -45,7 +45,7 @@ services:
ports: ports:
- 9545:8545 - 9545:8545
volumes: volumes:
- ../parity/secret-store/keys:/home/parity/.local/keys/DevelopmentChain:ro - ../networks/secret-store/keys:/home/parity/.local/keys/DevelopmentChain:ro
networks: networks:
backend: backend:
ipv4_address: 172.15.0.18 ipv4_address: 172.15.0.18

View File

@ -1,5 +1,5 @@
{ {
"name": "lake", "name": "nile",
"engine": { "engine": {
"authorityRound": { "authorityRound": {
"params": { "params": {

View File

@ -1,5 +1,5 @@
{ {
"name": "pond", "name": "spree",
"engine": { "engine": {
"instantSeal": null "instantSeal": null
}, },

View File

@ -4,12 +4,15 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
COMPOSE_DIR="${DIR}/compose-files" COMPOSE_DIR="${DIR}/compose-files"
export PROJECT_NAME="ocean" export PROJECT_NAME="ocean"
# default to latest versions
export OCEAN_VERSION=latest
# keeper options # keeper options
export KEEPER_DEPLOY_CONTRACTS="true" export KEEPER_DEPLOY_CONTRACTS="true"
export KEEPER_ARTIFACTS_FOLDER=$HOME/.ocean/keeper-contracts/artifacts export KEEPER_ARTIFACTS_FOLDER=$HOME/.ocean/keeper-contracts/artifacts
# Specify which ethereum client to run or connect to: development, kovan, or ocean_poa_net_local # Specify which ethereum client to run or connect to: development, kovan, spree or nile
export KEEPER_NETWORK_NAME="ocean_poa_net_local" export KEEPER_NETWORK_NAME="nile"
export NODE_FILE=${COMPOSE_DIR}/nodes/nile_node.yml
# Ganache specific option, these two options have no effect when not running ganache-cli # Ganache specific option, these two options have no effect when not running ganache-cli
export GANACHE_DATABASE_PATH="${DIR}" export GANACHE_DATABASE_PATH="${DIR}"
@ -41,10 +44,6 @@ function show_banner {
show_banner show_banner
# default to latest versions
export OCEAN_VERSION=latest
export NODE_FILE=${COMPOSE_DIR}/nodes/pond_node.yml
COMPOSE_FILES="" COMPOSE_FILES=""
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/network_volumes.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/network_volumes.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pleuston.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pleuston.yml"
@ -104,19 +103,19 @@ while :; do
export KEEPER_DEPLOY_CONTRACTS="true" export KEEPER_DEPLOY_CONTRACTS="true"
printf $COLOR_Y'Starting with local Ganache node...\n\n'$COLOR_RESET printf $COLOR_Y'Starting with local Ganache node...\n\n'$COLOR_RESET
;; ;;
# connects you to ocean testnet # connects you to nile ocean testnet
--local-lake-node) --local-nile-node)
export NODE_FILE=${COMPOSE_DIR}/nodes/lake_node.yml export NODE_FILE=${COMPOSE_DIR}/nodes/nile_node.yml
export KEEPER_NETWORK_NAME="ocean_poa_aws" export KEEPER_NETWORK_NAME="nile"
printf $COLOR_Y'Starting with local Lake node...\n\n'$COLOR_RESET printf $COLOR_Y'Starting with local Nile node...\n\n'$COLOR_RESET
;; ;;
# spins up pond local testnet # spins up spree local testnet
--local-pond-node) --local-spree-node)
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/keeper_contracts.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/keeper_contracts.yml"
export NODE_FILE=${COMPOSE_DIR}/nodes/pond_node.yml export NODE_FILE=${COMPOSE_DIR}/nodes/spree_node.yml
export KEEPER_NETWORK_NAME="ocean_poa_net_local" export KEEPER_NETWORK_NAME="spree"
export KEEPER_DEPLOY_CONTRACTS="true" export KEEPER_DEPLOY_CONTRACTS="true"
printf $COLOR_Y'Starting with local Pond node...\n\n'$COLOR_RESET printf $COLOR_Y'Starting with local Spree node...\n\n'$COLOR_RESET
;; ;;
################################################# #################################################
# Cleaning switches # Cleaning switches