appdb

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 NewAppDB

func NewAppDB() *AppDB

func (*AppDB) Close

func (appDB *AppDB) Close()

func (*AppDB) GetLastBlockHash

func (appDB *AppDB) GetLastBlockHash() []byte

func (*AppDB) GetLastHeight

func (appDB *AppDB) GetLastHeight() int64

func (*AppDB) GetValidators

func (appDB *AppDB) GetValidators() types.ValidatorUpdates

func (*AppDB) SaveValidators

func (appDB *AppDB) SaveValidators(vals types.ValidatorUpdates)

func (*AppDB) SetLastBlockHash

func (appDB *AppDB) SetLastBlockHash(hash []byte)

func (*AppDB) SetLastHeight

func (appDB *AppDB) SetLastHeight(height int64)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL