Skip to content

Commit

Permalink
update group flow to match cdvc
Browse files Browse the repository at this point in the history
  • Loading branch information
OisinKyne committed Aug 21, 2023
1 parent 758a723 commit f6a14bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 1 addition & 4 deletions docs/charon/cluster-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,5 @@ BFT #: max number of faulty (byzantine) nodes given size n
f(n) = floor((n-1)/3)
CFT #: max number of unavailable (crashed) nodes given size n
crashed(n) = n - Quarom(n)
crashed(n) = n - Quorum(n)
```



6 changes: 2 additions & 4 deletions docs/int/quickstart/alone/test-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@ The default cluster consists of:
FEE_RECIPIENT_ADDR=<ENTER YOUR FEE RECIPIENT ADDRESS HERE>
# Create a distributed validator cluster
docker run --rm -v "$(pwd):/opt/charon" obolnetwork/charon:v0.17.0 create cluster --name="mycluster" --withdrawal-addresses="${WITHDRAWAL_ADDR}" --fee-recipient-addresses="${FEE_RECIPIENT_ADDR}" --nodes 6 --threshold 5 --network goerli --num-validators=1
docker run --rm -v "$(pwd):/opt/charon" obolnetwork/charon:v0.17.0 create cluster --name="mycluster" --cluster-dir="cluster-nodes" --withdrawal-addresses="${WITHDRAWAL_ADDR}" --fee-recipient-addresses="${FEE_RECIPIENT_ADDR}" --nodes 6 --threshold 5 --network goerli --num-validators=1
```

These commands will create six folders, one for each node created.

Each folder contains partial private keys that together make up the distributed validator described in `.charon/cluster/cluster-lock.json`.
These commands will create six folders within `cluster-nodes`, one for each node created. You will need to rename `node*` to `.charon` for each folder to be found by the default `charon run` command, or you can use `charon run --private-key-file="./node0/charon-enr-private-key" --lock-file="./node0/cluster-lock.json"` for each instance of charon you start.

## Start the cluster

Expand Down

0 comments on commit f6a14bd

Please sign in to comment.