Categorygo.sia.tech/coreutils
modulepackage
0.7.0
Repository: https://github.com/siafoundation/coreutils.git
Documentation: pkg.go.dev

# README

Sia Core

GoDoc

This repo contains implementations of core Sia components, such as a P2P syncing/relay node, database-backed blockchain state manager, single-address wallet, and more. It is intended for use by Sia node implementations like walletd, renterd, and hostd.

# Packages

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

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