leveldb

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func NewDB

func NewDB(path string) (*DB, error)

func (*DB) DeleteCronContract added in v0.3.0

func (d *DB) DeleteCronContract(addr string) error

func (*DB) GetContract

func (d *DB) GetContract(addr string) (db.StoredBag, error)

func (*DB) GetCronScannerLT added in v0.3.0

func (d *DB) GetCronScannerLT() (uint64, error)

func (*DB) GetCronWalletScannerLT added in v0.3.4

func (d *DB) GetCronWalletScannerLT() (uint64, error)

func (*DB) ListContracts

func (d *DB) ListContracts() ([]db.StoredBag, error)

func (*DB) ListCronContracts added in v0.3.0

func (d *DB) ListCronContracts() ([]db.CronContract, error)

func (*DB) SetContract

func (d *DB) SetContract(bag db.StoredBag) error

func (*DB) SetCronContract added in v0.3.0

func (d *DB) SetCronContract(crn db.CronContract) error

func (*DB) SetCronScannerLT added in v0.3.0

func (d *DB) SetCronScannerLT(lt uint64) error

func (*DB) SetCronWalletScannerLT added in v0.3.4

func (d *DB) SetCronWalletScannerLT(lt uint64) error

Jump to

Keyboard shortcuts

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