pub struct GossipConfigSection {
pub enabled: bool,
pub bind: String,
pub seeds: Vec<String>,
pub node_name: String,
pub auth_mode: String,
pub identity_key: Option<PathBuf>,
pub peer_keys: Vec<PathBuf>,
pub peer_identities: BTreeMap<String, PathBuf>,
}Fields§
§enabled: bool§bind: String§seeds: Vec<String>§node_name: String§auth_mode: StringExplicit inbound authentication policy for gossip broadcasts (FPT_ITT.1,
F09): “required” (default) or “permissive”. Validated against those two
values here; the CLI bridges the string to hoike-gossip’s AuthMode.
required drops unsigned/unknown/forged broadcasts and needs an
identity_key; permissive is the documented rollout mode that still
accepts unsigned legacy broadcasts while verifying signed ones.
identity_key: Option<PathBuf>Path to an Ed25519 PKCS#8 private key used to sign outbound gossip
messages (design §6.3, FPT_ITT.1). Required when gossip is enabled in
auth_mode = "required"; optional while rolling out in permissive mode.
peer_keys: Vec<PathBuf>Deprecated unbound key list. Nonempty values fail configuration with migration instructions; use peer_identities to authorize each key’s node identity.
peer_identities: BTreeMap<String, PathBuf>Trait Implementations§
Source§impl Clone for GossipConfigSection
impl Clone for GossipConfigSection
Source§fn clone(&self) -> GossipConfigSection
fn clone(&self) -> GossipConfigSection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more