Versions in this module Expand all Collapse all v1 v1.0.5 Jan 22, 2020 Changes in this version + func InitDB(cfg *config.Config) + type EventsDB struct + func NewEventsDB(db db.DB) *EventsDB + func (db *EventsDB) AddEvent(height uint64, event e.Event) + func (db *EventsDB) FlushEvents() error + func (db *EventsDB) LoadEvents(height uint64) e.Events + type IEventsDB interface + AddEvent func(height uint64, event e.Event) + FlushEvents func() error + LoadEvents func(height uint64) e.Events + func GetCurrent() IEventsDB + type NOOPEventsDB struct + func (NOOPEventsDB) AddEvent(height uint64, event e.Event) + func (NOOPEventsDB) FlushEvents() error + func (NOOPEventsDB) LoadEvents(height uint64) e.Events