dcrd/mining
Dave Collins 9f7d6a1aac
mempool/mining: TxSource separation.
This finishes separating the mining code from the mempool that was
partially done in commit 9031d85 by extending the TxSource interface to
include the new functionality required by Decred.

The following is an overview of the changes to accomplish this:
- Move the VoteTx struct out of the mempool package in the mining
  package and rename it to VoteDesc instead to signify it is a vote
  descriptor and be consistent with the naming of TxDesc
- Update mempool to use the new mining.VoteDesc struct
- Rename CheckIfTxsExist to HaveAllTransactions to be more consistent
  with HaveTransaction in the TxSource interface as it now lives
  alongside it
- Add VoteHashesForBlock, VotesForBlocks, and IsTxTreeKnownInvalid
  to the TxSource interface
- Switch the mining code to call the functions on the TxSource interface
  instead and remove the reference to the concrete mempool
2018-03-05 11:38:36 -06:00
..
doc.go docs: Add/update doc.go in a few spots (#277) 2016-07-08 11:09:32 -05:00
mining.go mempool/mining: TxSource separation. 2018-03-05 11:38:36 -06:00
policy.go mining/mempool: Move priority code to mining pkg. 2018-03-03 00:18:01 -06:00
README.md multi: Update markdown in README files to match change in github parser. 2017-05-26 12:06:19 -04:00

mining

Build Status ISC License GoDoc

Overview

This package is currently a work in progress.

Installation and Updating

$ go get -u github.com/decred/dcrd/mining

License

Package mining is licensed under the copyfree ISC License.