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

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# 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

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.

# 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.