Documentation
¶
Index ¶
Constants ¶
View Source
const ValidRoundPlaceholder = -1
TODO: We use this value until the round is added to the spec
Variables ¶
View Source
var SyncProtocolPrecommitSender = felt.FromUint64[starknet.Address](math.MaxUint64)
TODO: Remove this once we can extract precommits from the sync protocol messages.
Functions ¶
This section is empty.
Types ¶
type MessageExtractor ¶ added in v0.15.20
type MessageExtractor[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]( validators votecounter.Validators[A], toValue func(*felt.Felt) V, proposalStore *proposal.ProposalStore[H], ) MessageExtractor[V, H, A]
Click to show internal directories.
Click to hide internal directories.