Struct signed::AcceptedState
zaun_community_protocol::signed::AcceptedState · Struct
pub struct AcceptedState { … }What a verifier stores per community for anti-rollback (rule 5).
Fields
Section titled “Fields”revision: u64
Section titled “revision: u64”Highest accepted descriptor revision.
descriptor_hash: [u8; 32]
Section titled “descriptor_hash: [u8; 32]”SHA3-256 of that descriptor’s bytes (an equal revision must have equal bytes).
delegation: Option<DelegationRef>
Section titled “delegation: Option<DelegationRef>”Highest accepted delegation epoch and its hash; none before the first delegation.
rotation_seq: u64
Section titled “rotation_seq: u64”Highest accepted rotation_seq (0 when never rotated).
root_key_hash: [u8; 32]
Section titled “root_key_hash: [u8; 32]”SHA3-256 of the root key accepted at rotation_seq; every later chain must pass
through that key, so a retired key cannot fork the chain.
min_suite: u8
Section titled “min_suite: u8”Highest accepted min_suite.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Eq, PartialEq, StructuralPartialEq