Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Connected bool
View Source
var DeroDB = &Derodbstore{}
Functions ¶
func GetMBLByBLHash ¶
func GetMBLByBLHash(bl block.Block) (mblinfo []*structures.MBLInfo, err error)
Types ¶
type Derodbstore ¶
type Derodbstore struct { Balance_store *graviton.Store // stores most critical data, only history can be purged, its merkle tree is stored in the block Block_tx_store Storefs // stores blocks which can be discarded at any time(only past but keep recent history for rollback) Topo_store Storetopofs // stores topomapping which can only be discarded by punching holes in the start of the file }
func (*Derodbstore) LoadDeroDB ¶
func (s *Derodbstore) LoadDeroDB() (err error)
type Storetopofs ¶
func (*Storetopofs) Open ¶
func (s *Storetopofs) Open(basedir string) (err error)
Click to show internal directories.
Click to hide internal directories.