Skip to main content

Crate ternary_distributed

Crate ternary_distributed 

Source
Expand description

Distributed systems primitives for ternary protocols.

Provides node management, gossip propagation, vector clocks, partition detection, consensus, and anti-entropy synchronization — all built around the ternary value space {-1, 0, +1}.

Structs§

AntiEntropySync
Anti-entropy synchronization for repairing state divergence between nodes.
ConsensusProtocol
A Paxos-like consensus protocol for ternary votes.
GossipProtocol
Gossip protocol for propagating ternary state across a cluster.
PartitionDetector
Partition detector identifies network splits by tracking node reachability.
TernaryNode
A node in a ternary distributed system.
VectorClock
Vector clock for tracking causal ordering in ternary distributed systems.

Enums§

Trit
A ternary value: Negative (-1), Zero (0), or Positive (+1).
Vote
A ternary vote: Negative (-1), Abstain (0), or Positive (+1).

Type Aliases§

NodeId
Unique identifier for a node in the distributed system.