From 97fea262c7de28d555d27a0a0fe3bf205351a3d2 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Wed, 14 Nov 2018 18:17:23 +0100 Subject: [PATCH] Changes secretstore --- docker-compose-local-parity-node.yml | 15 +++++++----- parity/parity/config/secretstoreclient.toml | 26 +++++++++++++++++++++ parity/parity/config/validator.toml | 3 +++ 3 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 parity/parity/config/secretstoreclient.toml diff --git a/docker-compose-local-parity-node.yml b/docker-compose-local-parity-node.yml index 4b29fc0..cfb51ba 100644 --- a/docker-compose-local-parity-node.yml +++ b/docker-compose-local-parity-node.yml @@ -13,18 +13,20 @@ services: ipv4_address: 172.15.0.11 parity-node: - image: parity/parity:stable + image: oceanprotocol/parity-ethereum:beta + entrypoint: /opt/parity/parity command: - --config /home/parity/parity/config/validator.toml + --config /home/parity/parity/config/secretstoreclient.toml --db-path /home/parity/chains --keys-path /home/parity/.local/share/io.parity.ethereum/keys --base-path /home/parity/base --engine-signer 0x00bd138abd70e2f00903268f3db08f2d25677c9e - --jsonrpc-interface 0.0.0.0 - --ws-interface 0.0.0.0 - --ui-interface 0.0.0.0 - --unsafe-expose + --ws-interface all --jsonrpc-cors all + --jsonrpc-interface all + --jsonrpc-hosts all + --jsonrpc-apis all + --unsafe-expose --unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e volumes: - ./parity/parity/config:/home/parity/parity/config @@ -51,6 +53,7 @@ services: - ./parity/secret_store/keys/:/parity_data/keys/ocean-network/ ports: - 12000:12000 + - 12001:12001 networks: backend: ipv4_address: 172.15.0.13 diff --git a/parity/parity/config/secretstoreclient.toml b/parity/parity/config/secretstoreclient.toml new file mode 100644 index 0000000..ddc3ec3 --- /dev/null +++ b/parity/parity/config/secretstoreclient.toml @@ -0,0 +1,26 @@ +# Users config file in users.toml +# This configuration file can be used for either Alice, Bob or Charlie + +[parity] +chain = "/home/parity/parity/config/chain.json" + +[rpc] +port = 8545 +interface = "0.0.0.0" +cors = ["all"] +hosts = ["all"] +apis = ["web3", "secretstore", "eth", "pubsub", "net", "parity", "parity_pubsub", "parity_accounts", "traces", "rpc", "shh", "shh_pubsub"] + +[secretstore] +disable = true # users do not run a secret store node + +[network] +port = 30303 +bootnodes = [ + "enode://16bddd0215f9bb8a9328671b7b1554a7811cf310065fde04248ce4cea92fe2831412894c912e6b9e45019d5011631452055a5c1873f2d6760baa95f51c449787@172.15.0.13:30303", + "enode://bd97feab0fdd069c3fe1f260285053f6a6fa6eaa840bfd6730a1ce6b0b9eccef616bfca7b498fb04c02f5fb9ecd8c40617c32acbdd4b55d306a3f4468b6885f2@172.15.0.12:30303" +] +discovery = true + +[account] +password = ["/home/parity/parity/validator.pwd"] diff --git a/parity/parity/config/validator.toml b/parity/parity/config/validator.toml index 2f92d7f..046293d 100644 --- a/parity/parity/config/validator.toml +++ b/parity/parity/config/validator.toml @@ -19,3 +19,6 @@ password = ["/home/parity/parity/validator.pwd"] [mining] reseal_on_txs = "none" + +[secretstore] +disable = true