Documentation
¶
Overview ¶
Package enginetest provides test utilities for consensus engines
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestEngine ¶
type TestEngine struct {
// contains filtered or unexported fields
}
TestEngine provides a test implementation for consensus engines
func (*TestEngine) IsStarted ¶
func (t *TestEngine) IsStarted() bool
IsStarted returns whether the engine is started
func (*TestEngine) SetHeight ¶
func (t *TestEngine) SetHeight(height uint64)
SetHeight sets the engine height
Click to show internal directories.
Click to hide internal directories.