Documentation ¶
Index ¶
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppDB ¶
type AppDB struct {
// contains filtered or unexported fields
}
func (*AppDB) GetLastBlockHash ¶
func (*AppDB) GetLastBlocksTimeDelta ¶ added in v0.9.0
func (*AppDB) GetLastHeight ¶
func (*AppDB) GetStartHeight ¶ added in v0.16.0
func (*AppDB) GetValidators ¶
func (appDB *AppDB) GetValidators() types.ValidatorUpdates
func (*AppDB) SaveValidators ¶
func (appDB *AppDB) SaveValidators(vals types.ValidatorUpdates)
func (*AppDB) SetLastBlockHash ¶
func (*AppDB) SetLastBlocksTimeDelta ¶ added in v0.9.0
func (*AppDB) SetLastHeight ¶
func (*AppDB) SetStartHeight ¶ added in v0.16.0
type LastBlocksTimeDelta ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.