Files
consensus/pkg/go/wave/doc.go
2025-09-24 04:01:37 -05:00

10 lines
453 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Package wave computes per-round thresholds and drives a poll.
//
// Each round has two thresholds—α_pref and α_conf—that gate preference and
// confidence. The default selector is FPC: a phase-dependent threshold chosen
// from [θ_min, θ_max], reproducibly derived from a PRF.
//
// Wave doesn't decide anything alone; it transforms a committee's tallies into
// a boolean (preferOK, confOK) that downstream focus can integrate.
package wave