Skip to content

Commit

Permalink
Warnings about OE DB corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Nov 17, 2020
1 parent 4891cb7 commit 9df6dc0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Currently supported clients:
- Nimbus

Currently supported optional components:
- geth, local eth1 node.
- openethereum, local eth1 node
- nethermind, local eth1 node
- geth, local eth1 node.
> Use one of the local eth1 node options or a 3rd-party provider of eth1 chain data to "feed"
> your eth2 beacon node, so you can [propose](https://ethos.dev/beacon-chain/) blocks.
- slasher, Running slasher is optional, but helps secure the chain and may result in additional earnings.
Expand Down
17 changes: 9 additions & 8 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ Please choose:
* Teku
* Nimbus
* Your source of eth1 data
* openethereum
* nethermind
* geth
* openethereum (NB: **DB corruption observed**, use for testing only for now)
* nethermind
* 3rd-party
* Whether to run a slasher (experimental for Prysm)
* Whether to run a grafana dashboard for monitoring
Expand Down Expand Up @@ -84,8 +84,9 @@ and with which options. See below for available compose files
- Adjust ports if you are going to need custom ports instead of the defaults. These are the ports
exposed to the host, and for everything but Grafana to the Internet via your firewall/router
- Set the `NETWORK` variable to either "mainnet" or a test network such as "medalla"
- Comment out the `ETH_NETWORK` variable, to use the main net, or set it to a test network such as "--goerli",
- If using geth as the eth1 node, comment out the `GETH1_NETWORK` variable, to use the main net, or set it to a test network such as "--goerli",
with the two dashes.
- With other eth1 nodes, the `ETH1_NETWORK` variable serves the same function, and can be set to `ethereum` to use the main eth1 network.
- Set the `GRAFFITI` string if you want a specific string

### Client compose files
Expand All @@ -96,9 +97,9 @@ openethereum with `:` between the file names.
- `prysm-base.yml` - Prysm
- `teku-base.yml` - Teku
- `nimbus-base.yml` - Nimbus
- `oe.yml` - local openethereum eth1 chain node
- 'nm.yml' - local nethermind eth1 chain node
- `geth.yml` - local geth eth1 chain node
- `oe.yml` - local openethereum eth1 chain node - for test use only, DB corruption was observed on the ethereum chain
- 'nm.yml' - local nethermind eth1 chain node
- `shared-eth1.yml` - makes the RPC port of the eth1 node available from the host, for using the eth1 node with other nodes or with Metamask. **Not encrypted**, do not expose to Internet.
- `prysm-slasher.yml` - Prysm experimental Slasher which helps secure the chain and may result in additional earnings. The experimental slasher can lead to missed attestations do to the additional resource demand.
- `lh-grafana.yml` - grafana dashboard for Lighthouse
Expand All @@ -108,7 +109,7 @@ openethereum with `:` between the file names.
- `teku-grafana.yml` - grafana dashboard for Teku

For example, Lighthouse with local openethereum and grafana:
`COMPOSE_FILE=lh-base.yml:oe.yml:lh-grafana.yml`
`COMPOSE_FILE=lh-base.yml:geth.yml:lh-grafana.yml`

> See [WEB](WEB.md) for notes on using the experimental Prysm Web UI
Expand Down Expand Up @@ -138,8 +139,8 @@ to your node if behind a home router, or allowed in via the VPS firewall.
- 9000 tcp/udp - Lighthouse beacon node. Open to Internet.
- 13000/tcp - Prysm beacon node. Open to Internet.
- 12000/udp - Prysm beacon node. Open to Internet.
- 9000 tcp/udp - Teku beacon node. Open to Internet. Note this is the same as Lighthouse.
- 9000 tcp/udp - Nimbus beacon node. Open to Internet. Note this is the same as Lighthouse.
- 9000 tcp/udp - Teku beacon node. Open to Internet. Note this is the same default port as Lighthouse.
- 9000 tcp/udp - Nimbus beacon node. Open to Internet. Note this is the same default port as Lighthouse.
- 3000/tcp - Grafana. **Not** open to Internet, allow locally only. It is insecure http.
- 22/tcp - SSH. Only open to Internet if this is a remote server (VPS). If open to Internet, configure
SSH key authentication.
Expand Down
2 changes: 1 addition & 1 deletion default.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is vital for key import to work. You can find your UID with "echo $UID".
LOCAL_UID=1000
# Client choice: See SETUP.md for available options
COMPOSE_FILE=lh-base.yml:oe.yml:lh-grafana.yml
COMPOSE_FILE=lh-base.yml:geth.yml:lh-grafana.yml
# ETH1 endpoint / chain source. This default uses the eth1 node container
ETH1_NODE=http://eth1:8545
# Graffiti to use for validator, in order to receive POAP
Expand Down

0 comments on commit 9df6dc0

Please sign in to comment.