Versions in this module Expand all Collapse all v1 v1.14.2 Aug 2, 2025 Changes in this version + var ErrBLS = errors.New("BLS signature verification failed") + var ErrQuasarTimeout = errors.New("quasar certificate timeout") + var ErrRingtail = errors.New("Ringtail signature verification failed") + func VerifyBlock(b *Block, pkGroup []byte, q *quasarState) error + type Block struct + Certs CertBundle + Txs [][]byte + func (b *Block) Hash() [32]byte + type CertBundle struct + BLSAgg [96]byte + RTCert []byte + type Engine struct + func (e *Engine) Broadcast(msg interface{}) error + func (e *Engine) BroadcastBlock(block *Block) error + func (e *Engine) LastBlockID() ids.ID + func (e *Engine) RecordSlashEvent(nodeID ids.NodeID, amount uint64, reason string) error + func (e *Engine) SelfID() ids.NodeID + func (e *Engine) SignBLS(data []byte) ([]byte, error) + type Header struct + Height uint64 + ParentID [32]byte + Timestamp int64 + TxRoot [32]byte + type Proposer struct + func NewProposer(cfg ProposerConfig, quasar *quasarState, engine *Engine) *Proposer + func (p *Proposer) ProcessSlashEvents(events []SlashEvent) [][]byte + func (p *Proposer) Propose(height uint64, txs [][]byte) (*Block, error) + type ProposerConfig struct + QuasarTimeout time.Duration + SlashAmount uint64 + type QuasarConfig struct + QPubKey []byte + QThreshold int + QuasarTimeout time.Duration + type SlashEvent struct + Amount uint64 + Height uint64 + Reason string + Validator string Other modules containing this package github.com/luxfi/node/v2