Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker which requires only parents list + current epoch info
func New ¶
New validator which performs heavy checks, related to signatures validation and Merkle tree validation
func (*Checker) Overloaded ¶
type Config ¶
type Config struct { MaxQueuedBatches int // the maximum number of event batches to queue up MaxBatch int // Maximum number of events in an task batch (batch is divided if exceeded) Threads int }
func DefaultConfig ¶
func DefaultConfig() Config
type Reader ¶
type Reader interface {
GetEpochPubKeys() (map[idx.ValidatorID]validatorpk.PubKey, idx.Epoch)
}
Reader is accessed by the validator to get the current state.
Click to show internal directories.
Click to hide internal directories.