dcrd/internal/mining
Dave Collins 9f8114e53d
blockchain: Move package to internal.
The moves the blockchain package from the blockchain module to an
internal package of the root module meaning that it is no longer a part
of the exported blockchain module.  Nearly all of the logic it provides
is really for the internal implementation of dcrd itself and thus having
it exported module significantly increases the maintenance burden.

Note that as of this change the blockchain module still exists and
provides the chaingen and fullblocktests packages both or which are
useful and used by external consumers.

This is part of a continuing overall effort to reduce the total number
of exported packages and modules and eventually get to the point it will
be possible to follow semver for the root module.

Overview of the major changes:

- Move all go files from blockchain -> internal/blockchain
- Move testdata from blockchain -> internal/blockchain
- Remove doc.go in favor of the README.md since godoc now displays it
- Move README.md from blockchain -> internal/blockchain and update to
  match the new reality
- Add a new README.md in the exported blockchain module that documents
  it contains the remaining exported packages
- Update all import paths in the repository accordingly
- Run go mod tidy on all modules
2022-05-30 15:32:41 -05:00
..
cpuminer blockchain: Move package to internal. 2022-05-30 15:32:41 -05:00
bgblktmplgenerator_test.go multi: Fix various typos. 2021-03-01 10:57:51 -06:00
bgblktmplgenerator.go blockchain: Move package to internal. 2022-05-30 15:32:41 -05:00
doc.go cpuminer: Refactor code to its own package. 2020-07-22 20:06:28 -05:00
error_test.go multi: avoid using subscriber lifecycle in catchup. 2021-10-12 18:52:50 -05:00
error.go mining: Fix error in comment. 2021-09-14 13:33:48 -05: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 blockchain: Move package to internal. 2022-05-30 15:32:41 -05:00
mining_test.go blockchain: Move package to internal. 2022-05-30 15:32:41 -05:00
mining_view_test.go multi: Remove agenda flags from several funcs. 2022-05-08 11:47:32 -05:00
mining_view.go multi: Start dcrutil v4 module dev cycle. 2020-12-16 16:30:24 -06:00
mining.go blockchain: Move package to internal. 2022-05-30 15:32: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 blockchain/stake: Start v5 module dev cycle. 2022-05-08 11:47:32 -05:00
txpriorityqueue.go blockchain/stake: Start v5 module dev cycle. 2022-05-08 11:47:32 -05: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.