dcrd/internal/mining
Ryan Staudt 00830fa570 multi: Add FetchUtxoEntry to mining Config.
This adds a FetchUtxoEntry method to the mining Config.  This allows the
template generation logic to fetch unspent transaction outputs from the
point of view of the main chain tip.  This has not been necessary in the
past since typically, the mining code uses FetchUtxoView to construct a
viewpoint for transactions that it includes in a block template.
However, with the automatic ticket revocations agenda, the template
generation code will need to create new revocation transactions, which
will require fetching utxos for the input tickets.
2021-08-26 17:04:41 -05:00
..
cpuminer cpuminer: Remove unused MiningAddrs from Config. 2021-03-13 16:55:28 -06:00
bgblktmplgenerator_test.go multi: Fix various typos. 2021-03-01 10:57:51 -06:00
bgblktmplgenerator.go mining: Convert to use new stdaddr package. 2021-04-09 13:39:15 -05: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: Add FetchUtxoEntry to mining Config. 2021-08-26 17:04:41 -05:00
mining_test.go mining: Convert to use new stdaddr package. 2021-04-09 13:39:15 -05: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 multi: Add FetchUtxoEntry to mining Config. 2021-08-26 17:04:41 -05: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.