block

package
v0.22.119 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: ISC Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo interface {
	Load() (int32, error)
	Set(height int32, hash *chainhash.Hash) error
	Get(height int32) (*chainhash.Hash, error)
	Close() error
	Flush() error
	Delete(heightMin, heightMax int32) error
}

Repo defines APIs for Block to access persistence layer.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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