MCPcopy Create free account
hub / github.com/SeismicSystems/summit / AddedValidator

Class AddedValidator

types/src/header.rs:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)]
17pub 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)]

Callers 1

parse_keyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected