package
1.9.25
Repository: https://github.com/p9c/pod.git
Documentation: pkg.go.dev

# Functions

NewBlockHeaderStore creates a new instance of the blockHeaderStore based on a target file path, an open database instance, and finally a set of parameters for the target chain.
NewFilterHeaderStore returns a new instance of the FilterHeaderStore based on a target file path, filter type, and target net parameters.

# Constants

Block is the header type that represents regular Bitcoin block headers.
RegularFilter is a header type that represents the basic filter header type for the filter header chain.

# Variables

No description provided by the author
No description provided by the author
ErrHashNotFound is returned when a specified block hash isn't found in a target index.
ErrHeightNotFound is returned when a specified height isn't found in a target index.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BlockHeader is a Bitcoin block header that also has its height included.
FilterHeader represents a filter header (basic or extended).
FilterHeaderStore is an implementation of a fully fledged database for any variant of filter headers.

# Interfaces

BlockHeaderStore is an interface that provides an abstraction for a generic store for block headers.

# Type aliases

HeaderType is an enum-like type which defines the various header types that are stored within the index.