blockrepo

package
v0.22.201-beta-rc2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pebble

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

func NewPebble

func NewPebble(path string) (*Pebble, error)

func (*Pebble) Close

func (repo *Pebble) Close() error

func (*Pebble) Delete

func (repo *Pebble) Delete(heightMin, heightMax int32) error

func (*Pebble) Flush

func (repo *Pebble) Flush() error

func (*Pebble) Get

func (repo *Pebble) Get(height int32) (*chainhash.Hash, error)

func (*Pebble) Load

func (repo *Pebble) Load() (int32, error)

func (*Pebble) Set

func (repo *Pebble) Set(height int32, hash *chainhash.Hash) error

Jump to

Keyboard shortcuts

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