chaindb

package
v0.0.0-...-1a04551 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GagentDb

type GagentDb struct {
	// contains filtered or unexported fields
}

func (*GagentDb) AddRow

func (db *GagentDb) AddRow(row *gagentDbRow) error

* Add a new row to the chaindb

func (*GagentDb) Init

func (db *GagentDb) Init()

* Initialize the database

func (*GagentDb) Load

func (db *GagentDb) Load() error

* Load the database from disk

func (*GagentDb) SetCurrHash

func (db *GagentDb) SetCurrHash()

* Set current hash of the database

func (*GagentDb) SetPrevHash

func (db *GagentDb) SetPrevHash()

* Set previous hash of the database

Jump to

Keyboard shortcuts

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