dcrd/internal/mining
Ryan Staudt 70edb35d0d multi: Check tx inputs auto revocations flag.
This adds an isAutoRevocationsEnabled boolean to
checkTicketRedeemerCommitments and updates all callers accordingly.
This is necessary because additional validation rules will be added in
subsequent commits based on whether the automatic ticket revocations
agenda is active.

Note that this is intentionally not using blockchain.AgendaFlags, and
is instead adding an additional boolean parameter, since we should be
able to retroactively update the transaction checks to be based on just
the transaction version if the agenda passes and there are no legacy
violations (i.e., version 2 revocation transactions prior to the agenda
passing), in which case this boolean parameter could be removed.
2021-09-06 08:48:19 -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: Check tx inputs auto revocations flag. 2021-09-06 08:48:19 -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: Check tx inputs auto revocations flag. 2021-09-06 08:48:19 -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.