Versions in this module Expand all Collapse all v1 v1.2.2 Dec 22, 2021 v1.2.1 Dec 22, 2021 Changes in this version + type Casper struct + func NewCasper(store state.Store, queue msgQueue, checkpoints []*state.Checkpoint) *Casper + func (c *Casper) ApplyBlock(block *types.Block) (bc.Hash, error) + func (c *Casper) AuthVerification(msg *ValidCasperSignMsg) error + func (c *Casper) BestChain() bc.Hash + func (c *Casper) LastFinalized() (uint64, bc.Hash) + func (c *Casper) LastJustified() (uint64, bc.Hash) + func (c *Casper) ParentCheckpoint(blockHash *bc.Hash) (*state.Checkpoint, error) + func (c *Casper) ParentCheckpointByPrevHash(prevBlockHash *bc.Hash) (*state.Checkpoint, error) + func (c *Casper) RollbackCh() <-chan *RollbackMsg + type RollbackMsg struct + BestHash bc.Hash + Reply chan error + type ValidCasperSignMsg struct + PubKey string + Signature []byte + SourceHash bc.Hash + TargetHash bc.Hash