dcrd/internal/mining
Dave Collins fffe1f09c0
mining: No error log on expected head reorg errors.
This changes the log for head reorg failures to a debug log instead of
an error log since it is actually expected to fail reorgs from time to
time due to the fact mining is a race to find blocks.

It also cleans up the code slightly while here and adds an additional
check to avoid additional work in the case reorgs to other tips fail and
the current tip then becomes the best candidate among the eligible
parents.
2021-01-22 14:40:09 -06:00
..
cpuminer netsync: Remove submit/processblock orphan flag. 2021-01-21 23:20:17 -06:00
bgblktmplgenerator_test.go mining: Switch to custom waitGroup impl 2020-11-25 13:14:37 -06:00
bgblktmplgenerator.go mining: Remove leftover block manager facade iface. 2020-12-18 00:11:02 -06:00
doc.go cpuminer: Refactor code to its own package. 2020-07-22 20:06:28 -05:00
error_test.go internal/mining: update mining error types. 2020-12-21 13:00:59 -06:00
error.go internal/mining: update mining error types. 2020-12-21 13:00:59 -06:00
interface.go mining: Remove leftover block manager facade iface. 2020-12-18 00:11:02 -06:00
log.go mining: Move to internal. 2020-07-20 18:07:59 -05:00
mining_harness_test.go multi: Remove blockChain field from UtxoViewpoint. 2021-01-18 13:12:44 -06:00
mining_test.go multi: Start dcrutil v4 module dev cycle. 2020-12-16 16:30:24 -06:00
mining_view_test.go multi: Rework utxoset/view to use outpoints. 2021-01-14 17:25:06 -06:00
mining_view.go multi: Start dcrutil v4 module dev cycle. 2020-12-16 16:30:24 -06:00
mining.go mining: No error log on expected head reorg errors. 2021-01-22 14:40:09 -06:00
policy_test.go mining: Move to internal. 2020-07-20 18:07:59 -05:00
policy.go multi: Start dcrutil v4 module dev cycle. 2020-12-16 16:30:24 -06:00
README.md mining: Move to internal. 2020-07-20 18:07:59 -05:00
tx_desc_graph.go multi: Start dcrutil v4 module dev cycle. 2020-12-16 16:30:24 -06:00
txpriorityqueue_test.go multi: Start blockchain/stake v4 module dev cycle. 2020-12-16 16:30:24 -06:00
txpriorityqueue.go multi: Start blockchain/stake v4 module dev cycle. 2020-12-16 16:30:24 -06:00

mining

Build Status ISC License Doc

Overview

This package is currently a work in progress.

License

Package mining is licensed under the copyfree ISC License.