Branch: refs/heads/master Home: https://github.com/btcsuite/btcd Commit: 74fe2a4dfde5039b203559c147af665606ab082e https://github.com/btcsuite/btcd/commit/74fe2a4dfde5039b203559c147af665606ab082e Author: Dave Collins <da...@conformal.com> Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths: M cpuminer.go M mining.go M rpcserver.go M server.go Log Message: ----------- mining: Introduce a block template generator. This introduces a new type named BlkTmplGenerator which encapsulates the various state needed to generate block templates. This is useful since it means code that needs to generate block templates can simply accept the generator rather than needing access to all of the additional state which in turn will ultimately make it easier to split the mining code into its own package.