package
0.0.23
Repository: https://github.com/cybriq/p9.git
Documentation: pkg.go.dev

# Functions

NewBlock returns a new instance of a bitcoin block given an underlying wire.Block.
NewFromBlockAndBytes returns a new instance of a bitcoin block given an underlying wire.Block and the serialized bytes for it.
NewFromBytes returns a new instance of a bitcoin block given the serialized bytes.
NewFromReader returns a new instance of a bitcoin block given a Reader to deserialize the block.

# Constants

BlockHeightUnknown is the value returned for a block height that is unknown.

# Structs

Block defines a bitcoin block that provides easier and more efficient manipulation of raw blocks.

# Type aliases

OutOfRangeError describes an error due to accessing an element that is out of range.