Skip to content

Commit a98ca64

Browse files
committed
Fix: Update Openethereum configs
1 parent 2bb799e commit a98ca64

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

openethereum/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG VERSION
44

55
RUN apt-get update && apt-get install -y git curl wget pwgen vim htop gcc g++ cmake
66

7-
RUN git clone https://github.com/openethereum/openethereum --branch=release/v${VERSION} \
7+
RUN git clone https://github.com/openethereum/openethereum --branch=v${VERSION} \
88
&& cd openethereum \
99
&& cargo build --features secretstore --release \
1010
&& cp ./target/release/openethereum /openethereum
@@ -32,7 +32,6 @@ RUN set -x \
3232
&& export GNUPGHOME="$(mktemp -d)" \
3333
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
3434
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
35-
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
3635
&& chmod +x /usr/local/bin/gosu \
3736
&& gosu nobody true
3837

openethereum/config/mainnet/parity.toml renamed to openethereum/config/mainnet/openethereum.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ tracing = "off"
2929
db_compaction = "ssd"
3030
cache_size = 4096
3131

32+
[secretstore]
33+
disable = true # users do not run a secret store node
34+
3235
[ui]
3336
disable = true
3437

@@ -37,5 +40,5 @@ disable = false
3740
port = 8545
3841
interface = "0.0.0.0"
3942
hosts = ["*"]
40-
apis = ["web3", "eth", "net","parity","parity_accounts","personal", "traces", "rpc", "secretstore", "parity_pubsub"]
43+
apis = ["web3", "eth", "net","parity","parity_accounts","personal", "traces", "rpc", "parity_pubsub"]
4144

openethereum/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
volumes:
2424
- ./keys/kovan:/parity/.local/share/io.parity.ethereum/keys
2525
- ./blocks/kovan:/parity/.local/share/io.parity.ethereum/chains
26-
- ./config/kovan/parity.toml:/parity/.local/share/io.parity.ethereum/config.toml
26+
- ./config/kovan/openethereum.toml:/parity/.local/share/io.parity.ethereum/config.toml
2727

2828
classic:
2929
image: quay.io/openware/openethereum:3.1.0

0 commit comments

Comments
 (0)