sync

package
v0.15.16 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sync

type Sync[V types.Hashable[H], H types.Hash, A types.Addr] struct {
	// contains filtered or unexported fields
}

func New

func New[V types.Hashable[H], H types.Hash, A types.Addr](
	blockListener <-chan sync.BlockBody,
	driverProposalCh chan<- *types.Proposal[V, H, A],
	driverPrecommitCh chan<- *types.Precommit[H, A],
	getPrecommits func(*sync.BlockBody) []types.Precommit[H, A],
	toValue func(*felt.Felt) V,
	proposalStore *proposal.ProposalStore[H],
) Sync[V, H, A]

func (*Sync[V, H, A]) Run

func (s *Sync[V, H, A]) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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