flare

package
v1.22.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package flare finalizes DAG cuts via a cascading accept protocol.

Once prism + horizon narrow the candidate set, Flare walks the dependency graph and accepts vertices in causal order. It's the controlled detonation that commits the prepared transactions—deliberate, irreversible, beautiful. In the metaphor, it's the stellar flare that lights up space.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasCertificate

func HasCertificate(v dag.View, proposer dag.Meta, p dag.Params) bool

Cert: >=2f+1 in r+1 support proposer(author,round). Skip: >=2f+1 in r+1 not supporting.

func HasSkip

func HasSkip(v dag.View, proposer dag.Meta, p dag.Params) bool

Types

type Decision

type Decision int
const (
	DecideUndecided Decision = iota
	DecideCommit
	DecideSkip
)

type Flare

type Flare struct {
	// contains filtered or unexported fields
}

func NewFlare

func NewFlare(p dag.Params) *Flare

func (*Flare) Classify

func (f *Flare) Classify(v dag.View, proposer dag.Meta) Decision

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL