Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: 5e517a9116d1a72b48532901fb987bb0e1159f32
https://github.com/conformal/btcd/commit/5e517a9116d1a72b48532901fb987bb0e1159f32
Author: Dave Collins <[email protected]>
Date: 2014-03-22 (Sat, 22 Mar 2014)
Changed paths:
M log.go
Log Message:
-----------
Add new logging subsystem for mining related ops.
This commit adds a new logging subsystem named MINR which is used for
logging mining releated operations.
Commit: ed45b717e0631e85bbc1ac20effc82819b9f37bf
https://github.com/conformal/btcd/commit/ed45b717e0631e85bbc1ac20effc82819b9f37bf
Author: Dave Collins <[email protected]>
Date: 2014-03-22 (Sat, 22 Mar 2014)
Changed paths:
M config.go
M mempool.go
Log Message:
-----------
Add options to control block creation settings.
This commit adds three new options which are intended to to be used by the
upcoming mining-related block template creation code.
Commit: e98db34ef2a579ba2487a72f3e0678cd08a9a206
https://github.com/conformal/btcd/commit/e98db34ef2a579ba2487a72f3e0678cd08a9a206
Author: Dave Collins <[email protected]>
Date: 2014-03-22 (Sat, 22 Mar 2014)
Changed paths:
M blockmanager.go
M mempool.go
A mining.go
Log Message:
-----------
Add infrastructure for creating a block template.
This commit adds a new function named NewBlockTemplate along with
supporting infrastructure which is part of the core functionality needed
to support mining.
In particular the function creates a new block template which contains a
fully populated block with a zero nonce that is ready to be solved as well
as additional information regarding the fees and number of signature
operations for each transaction included in the block. The specific
transaction selection logic mirrors the reference implementation.
Various cleanup, optimizations, and comment suggestions provided by
@owainga. Also contains some naming suggestions and comment fixes from
@flammit.
Compare: https://github.com/conformal/btcd/compare/29dd4114576e...e98db34ef2a5