modulepackage
0.7.0
Repository: https://github.com/siafoundation/coreutils.git
Documentation: pkg.go.dev
# Functions
FindBlockNonce attempts to find a nonce for b that meets the PoW target.
MineBlock constructs a block from the provided address and the transactions in the txpool, and attempts to find a nonce for it that meets the PoW target.
NewBoltChainDB creates a new BoltChainDB.
OpenBoltChainDB opens a BoltDB database.
# Structs
BoltChainDB implements chain.DB with a BoltDB database.