Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Check which require only parents list + current epoch info
func New ¶
func New(config *lachesis.DagConfig, reader DagReader, txSigner types.Signer, numOfThreads int) *Checker
New validator which performs heavy checks, related to signatures validation and Merkle tree validation
func NewDefault ¶
NewDefault uses N-1 threads
func (*Checker) Enqueue ¶
func (v *Checker) Enqueue(events inter.Events, onValidated OnValidatedFn) error
func (*Checker) Overloaded ¶
type OnValidatedFn ¶
type OnValidatedFn func(*TaskData)
OnValidatedFn is a callback type for notifying about validation result.
Click to show internal directories.
Click to hide internal directories.