From f6a14bdf47afb1cee7c9c1ac218970005fbce326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ois=C3=ADn=20Kyne?= Date: Mon, 21 Aug 2023 11:23:25 +0100 Subject: [PATCH] update group flow to match cdvc --- docs/charon/cluster-configuration.md | 5 +---- docs/int/quickstart/alone/test-locally.md | 6 ++---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/charon/cluster-configuration.md b/docs/charon/cluster-configuration.md index 56565254a1..aab4104033 100644 --- a/docs/charon/cluster-configuration.md +++ b/docs/charon/cluster-configuration.md @@ -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) ``` - - - diff --git a/docs/int/quickstart/alone/test-locally.md b/docs/int/quickstart/alone/test-locally.md index c216ad7e08..46c9103155 100644 --- a/docs/int/quickstart/alone/test-locally.md +++ b/docs/int/quickstart/alone/test-locally.md @@ -60,12 +60,10 @@ The default cluster consists of: FEE_RECIPIENT_ADDR= # 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