Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeadMock ¶
NewDeadMock creates a mock provider that always errors.
Types ¶
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
func New ¶
func New(chainID string, headers map[int64]*types.SignedHeader, vals map[int64]*types.ValidatorSet) *Mock
New creates a mock provider with the given set of headers and validator sets.
func (*Mock) LightBlock ¶
func (*Mock) ReportEvidence ¶
Click to show internal directories.
Click to hide internal directories.