Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestEmptyReportHandling ¶
func TestReportErrorHandling ¶
func TestReportsAddDataPoint ¶
func TestToFloat ¶
Types ¶
type MockBlockStore ¶
type MockBlockStore struct {
// contains filtered or unexported fields
}
MockBlockStore implements BlockStore interface for testing
func NewMockBlockStore ¶
func NewMockBlockStore(base, height int64) *MockBlockStore
func (*MockBlockStore) AddBlock ¶
func (m *MockBlockStore) AddBlock(height int64, block *types.Block)
func (*MockBlockStore) Base ¶
func (m *MockBlockStore) Base() int64
func (*MockBlockStore) Height ¶
func (m *MockBlockStore) Height() int64
Click to show internal directories.
Click to hide internal directories.