This updates mining.Config to take in the block chain related functions that it requires rather than requiring a blockchain.BlockChain instance. This allows for alternate implementations to be provided for these functions, such as for testing. |
||
|---|---|---|
| .. | ||
| cpuminer | ||
| bgblktmplgenerator.go | ||
| doc.go | ||
| error.go | ||
| interface.go | ||
| log.go | ||
| mining.go | ||
| policy_test.go | ||
| policy.go | ||
| README.md | ||
| txpriorityqueue_test.go | ||
| txpriorityqueue.go | ||