Versions in this module Expand all Collapse all v1 v1.0.5 Jan 22, 2020 Changes in this version + type AppDB struct + func NewAppDB(cfg *config.Config) *AppDB + func (appDB *AppDB) Close() + func (appDB *AppDB) GetLastBlockHash() []byte + func (appDB *AppDB) GetLastBlocksTimeDelta(height uint64) (int, error) + func (appDB *AppDB) GetLastHeight() uint64 + func (appDB *AppDB) GetStartHeight() uint64 + func (appDB *AppDB) GetValidators() types.ValidatorUpdates + func (appDB *AppDB) SaveValidators(vals types.ValidatorUpdates) + func (appDB *AppDB) SetLastBlockHash(hash []byte) + func (appDB *AppDB) SetLastBlocksTimeDelta(height uint64, delta int) + func (appDB *AppDB) SetLastHeight(height uint64) + func (appDB *AppDB) SetStartHeight(height uint64) + type LastBlocksTimeDelta struct + Delta int + Height uint64