Skip to content

Commit 3c337e2

Browse files
committed
Change co-validator to either operator or dvc depending on context
1 parent 855ce3b commit 3c337e2

File tree

3 files changed

+18
-19
lines changed

3 files changed

+18
-19
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ The Distributed Validator protocol presents a solution to mitigate the risks & c
2626

2727
The two fundamental concepts behind Distributed Validators are:
2828

29-
- **consensus**: the responsibilities of a single validator are split among several co-validators, who must work together to reach agreement on how to vote before signing any message.
30-
- **_M-of-N_ threshold signatures**: the validator's staking key is split into _N_ pieces and each of the co-validators holds a share. When at least _M_ of the co-validators reach consensus on how to vote, they each sign the message with their share and a combined signature can be reconstructed from the shares.
29+
- **consensus**: the responsibilities of a single validator are split among several operators, who must work together to reach agreement on how to vote before signing any message.
30+
- **_M-of-N_ threshold signatures**: the validator's staking key is split into _N_ pieces and each of the operators holds a share. When at least _M_ of the operators reach consensus on how to vote, they each sign the message with their share and a combined signature can be reconstructed from the shares.
3131

3232
Ethereum proof-of-stake uses the BLS signature scheme, in which the private keys can be _M-of-N_ secret-shared (using Shamir secret sharing) to implement _M-of-N_ threshold signatures.
3333

34-
By combining a suitable (safety-favouring) consensus algorithm with an _M-of-N_ threshold signature scheme, the DV protocol ensures that agreement is backed up by cryptography and at least _M_ co-validators agree about any decision.
34+
By combining a suitable (safety-favouring) consensus algorithm with an _M-of-N_ threshold signature scheme, the DV protocol ensures that agreement is backed up by cryptography and at least _M_ operators agree about any decision.
3535

3636
### Resources
3737

@@ -60,18 +60,18 @@ This specification presents a way to implement Distributed Validator Client soft
6060

6161
- We assume _N_ total nodes and an _M-of-N_ threshold signature scheme.
6262
- For general compatibility with BFT consensus protocols, we assume that `M = (2 * N / 3) + 1`.
63-
- This specification assumes [some leader-based safety-favoring consensus protocol](src/dvspec/consensus.py) for the Co-Validators to decide on signing upon the same attestation/block. We assume that the consensus protocol runs successfully with _M_ correct nodes out of _N_ total nodes.
63+
- This specification assumes [some leader-based safety-favoring consensus protocol](src/dvspec/consensus.py) for the operators to decide on signing upon the same attestation/block. We assume that the consensus protocol runs successfully with _M_ correct nodes out of _N_ total nodes.
6464
- We assume the usual prerequisites for safe operation of the Validator Client, such as an up-to-date anti-slashing database, correct system clock, etc.
6565
- We disregard voting on the "correct" Ethereum fork for now - this functionality will be added in a future update.
6666

6767
### Desired Guarantees
6868

6969
- **Safety (against key theft)**:
70-
- The Validator's staking private key is secure unless security is compromised at more than _M_ of the _N_ Co-Validators.
70+
- The Validator's staking private key is secure unless security is compromised at more than _M_ of the _N_ operators.
7171
- **Safety (against slashing)**:
72-
- Under the assumption of an asynchronous network, the Validator is never slashed unless more than 1/3rd of the Co-Validators are Byzantine.
73-
- Under the assumption of a synchronous network, the Validator is never slashed unless more than 2/3rds of the Co-Validators are Byzantine.
74-
- **Liveness**: The protocol will eventually produce a new attestation/block under partially synchronous network unless more than 1/3rd of the Co-Validators are Byzantine.
72+
- Under the assumption of an asynchronous network, the Validator is never slashed unless more than 1/3rd of the operators are Byzantine.
73+
- Under the assumption of a synchronous network, the Validator is never slashed unless more than 2/3rds of the operators are Byzantine.
74+
- **Liveness**: The protocol will eventually produce a new attestation/block under partially synchronous network unless more than 1/3rd of the operators are Byzantine.
7575

7676
## Specification
7777

glossary.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@
2121
## Distributed Validator Concepts
2222

2323
- **Distributed Validator (DV)**: A group of participants collboratively performing the duties of a single Validator on the Ethereum network. The Validator's private key is secret-shared among the participants so that a complete signature cannot be formed without some majority threshold of participants.
24-
- **Co-Validator**: A threshold BLS public key participating in the DV protocol for a _particular_ Validator.
25-
- **Distributed Validator Client (DVC)**: Software to participate as a Co-Validator by running the DV protocol (or, to participate as multiple Co-Validators that are each associated with a different Validator). The DVC has access to an SECP256K1 key that serves as its authentication to its peers, along with a distributed validator client certificate, which authorises this DVC to act on behalf of a given distributed validator key share.
24+
- **Distributed Validator Client (DVC)**: Software to participate as an operator of one or more distributed validators by running the DV protocol. The DVC has access to an SECP256K1 key that serves as its authentication to its peers, along with a distributed validator client certificate, which authorises this DVC to act on behalf of a given distributed validator key share.
2625
- **Distributed Validator Node**: A distributed validator node is the set of clients an operator needs to configure and run to fulfil the duties of a Distributed Validator Operator. An operator may also run redundant execution and consensus clients, an execution payload relayer like [mev-boost](https://github.com/flashbots/mev-boost), or other monitoring or telemetry services on the same hardware to ensure optimal performance.
2726
- **Distributed Validator Cluster**: A distributed validator cluster is a collection of distributed validator nodes connected together to service a set of distributed validators generated during a DVK ceremony.
2827
- **Distributed Validator Key**: A distributed validator key is one persistent BLS public key emulated by a group of distributed validator key shares completing threshold signing together.
29-
- **Distributed Validator Key Share**: A distributed validator key share is one BLS private key that is part of the collection of shares that together can sign on behalf of the group distributed validator key.
28+
- **Distributed Validator Key Share**: A distributed validator key share is one BLS private key that is part of the collection of shares that together can sign on behalf of the group distributed validator public key.
3029
- **Distributed Validator Key Generation Ceremony**: A distributed key generation ceremony where a number of parties can come together to trustlessly create a distributed validator key, its associated deposit and exit data, and each parties' distributed validator key share and DVC certificate.
3130
- **Distributed Validator Client Certificate**: A distributed validator client communicates across the internet to connect to its counterparty peers. However each DVC needs a means of authenticating its counterparties, and confirming they have the authorisation to act on behalf of a given key share. A DVC authenticates itself to its peers with an SECP256K1 key pair. Secondly, it proves it has the authorisation to act on behalf of a given key share by presenting a signed message from its key share, known as a DVC certificate.
3231

@@ -35,7 +34,7 @@
3534
An illustrative example for usage of terms described above:
3635

3736
- Ethereum Validator with pubkey `0xa5c91...` is operated as a Distributed Validator.
38-
- 4 Co-Validators are participating in the Distributed Validator for Validator `0xa5c91...`.
39-
- The private key associated with `0xa5c91...` was generated during a distributed validator key generation ceremony using _3-of-4_ secret-sharing among the 4 Co-Validators such that a _3-of-4_ threshold signature scheme is setup.
40-
- In simpler terms, the private key for `0xa5c91...` is split into 4 pieces, each in the custody of one of the Co-Validators such that at least 3 of them have to collaborate to produce a signature from `0xa5c91...`.
41-
- Each Co-Validator is running the Distributed Validator Client software to participate the in the Distributed Validator.
37+
- 4 Operators are participating in the Distributed Validator Cluster for Validator `0xa5c91...`.
38+
- The private key associated with `0xa5c91...` was generated during a distributed validator key generation ceremony using _3-of-4_ secret-sharing among the 4 operators such that a _3-of-4_ threshold signature scheme is setup.
39+
- In simpler terms, the private key for `0xa5c91...` is split into 4 pieces, each in the custody of one of the operators such that at least 3 of them have to collaborate to produce a signature from `0xa5c91...`.
40+
- Each operator is running a Distributed Validator Node to participate the in the Distributed Validator Cluster.

src/dvspec/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Organization
44

55
The specifications are organized as follows:
6-
- [`spec.py` - distributed validator specification](spec.py) defines the behavior of a Co-Validator regarding attestation & block production processes.
6+
- [`spec.py` - distributed validator specification](spec.py) defines the behavior of a distributed validator client regarding attestation & block production processes.
77
- [`eth_node_interface.py` - Ethereum node interface](eth_node_interface.py) describes the interface to communicate with the associated Beacon Node (BN) & Validator Client (VC).
8-
- [`consensus.py` - consensus specification](consensus.py) describes the basic structure for the consensus protocol used between Co-Validators.
8+
- [`consensus.py` - consensus specification](consensus.py) describes the basic structure for the consensus protocol used between DVCs.
99
- [`networking.py` - networking specification](networking.py) defines the required networking logic between Distributed Validator Clients.
1010
- [`utils/` - utilities](utils/) contain type definitions and misc. helper functions for the specification.
1111

@@ -20,9 +20,9 @@ The basic operation of the DVC is as follows:
2020
1. Request duties from the BN at the start of every epoch
2121
2. Schedule serving of the received duties at the appropriate times
2222
3. Serve a duty when triggered by:
23-
1. Forming consensus with other Co-Validators over the data to be signed
23+
1. Forming consensus with other operators over the data to be signed
2424
2. Caching the decided data to provide to the VC's request for data to be signed for this duty, and responding to the VC's request using the cached data
25-
3. Capturing the threshold signed data from the VC's response and broadcasting it to other Co-Validators
25+
3. Capturing the threshold signed data from the VC's response and broadcasting it to other Distributed Validator Client peers
2626
4. Re-combination of threshold signed data after receiving enough threshold signed data shares
2727

2828
### Anti-Slashing Measures at the DVC

0 commit comments

Comments
 (0)