Avalanche Consensus Demo
Nodes
Total number of nodes in the network. Each node represents a participant in the consensus protocol.
Sample Size (k)
How many other nodes each node randomly samples in each round to query their current state.
Threshold (α)
The minimum number of sampled nodes that must agree on a color for a node to adopt that color. Must be ≤ Sample Size.
Finalization Count
How many consecutive rounds a node must maintain the same state (while meeting threshold) before that state becomes permanent and unchangeable.