Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableLog ¶
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until UseLogger is called.
func FromFile ¶
func FromFile(jsonFile string, consensusConfig *consensus.Config, rpcClient *rpc.Client, dataDir string) error
FromFile mines all blocks as described by `jsonFile`
func SolveBlock ¶
func SolveBlock(block *externalapi.DomainBlock)
SolveBlock increments the given block's nonce until it matches the difficulty requirements in its bits field
Types ¶
Click to show internal directories.
Click to hide internal directories.