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 ¶
func (*AppDB) GetLastHeight ¶
func (*AppDB) GetStartHeight ¶
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 ¶
func (*AppDB) SetLastHeight ¶
func (*AppDB) SetStartHeight ¶
type LastBlocksTimeDelta ¶
Click to show internal directories.
Click to hide internal directories.