package
0.1.0
Repository: https://github.com/brc20-collab/brczero.git
Documentation: pkg.go.dev

# Functions

BpPeerDefaultParams returns the default peer parameters.
NewBlockchainReactor returns new reactor instance.
NewBlockPool creates a new BlockPool.
NewBpPeer creates a new peer.
NewFSM creates a new reactor FSM.
RegisterBlockchainMessages registers the fast sync messages for amino encoding.

# Constants

BlockchainChannel is a channel for blocks and status updates (`BlockStore` height).

# Structs

BcReactorFSM is the datastructure for the Blockchain Reactor State Machine.
BlockchainReactor handles long-term catchup syncing.
BlockData stores the peer responsible to deliver a block and the actual block if delivered.
BlockPool keeps track of the fast sync peers, block requests and block responses.
BpPeer is the datastructure associated with a fast sync peer.
BpPeerParams stores the peer parameters that are used when creating a peer.

# Interfaces

BlockchainMessage is a generic message for this reactor.