| 14 | /// Represents a validator being added to the committee. |
| 15 | /// Contains both the node identity key (ed25519) and consensus signing key (BLS). |
| 16 | #[derive(Clone, Debug, PartialEq, Eq)] |
| 17 | pub struct AddedValidator { |
| 18 | /// The node's identity public key (ed25519) |
| 19 | pub node_key: PublicKey, |
| 20 | /// The validator's consensus signing key (BLS12-381) |
| 21 | pub consensus_key: bls12381::PublicKey, |
| 22 | } |
| 23 | |
| 24 | #[derive(Clone, Debug, Encode, Decode)] |