Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: a4aa131dd5459017bfe329481b3cb9cc8bb01e42
https://github.com/btcsuite/btcd/commit/a4aa131dd5459017bfe329481b3cb9cc8bb01e42
Author: Dave Collins <[email protected]>
Date: 2015-11-23 (Mon, 23 Nov 2015)
Changed paths:
M cpuminer.go
M mining.go
M rpcserver.go
M server.go
Log Message:
-----------
mining: Refactor policy into its own struct.
This introduces the concept of a mining policy struct which is used to
control block template generation instead of directly accessing the
config struct. This is a step toward decoupling the mining code from
the internals of btcd. Ultimately the intent is to create a separate
mining package.