chain_db

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainDb

type ChainDb struct {
	Ac      *access.AccountChain
	Sc      *access.SnapshotChain
	Account *access.Account
	Be      *access.BlockEvent
	OnRoad  *access.OnRoad
	// contains filtered or unexported fields
}

func NewChainDb

func NewChainDb(dbDir string) *ChainDb

func (*ChainDb) ClearData

func (chainDb *ChainDb) ClearData() error

func (*ChainDb) Commit

func (chainDb *ChainDb) Commit(batch *leveldb.Batch) error

func (*ChainDb) Db

func (chainDb *ChainDb) Db() *leveldb.DB

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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