Skip to content

mining: Correct initial template generation.#1122

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:cpuminer_decred_udpates
Mar 5, 2018
Merged

mining: Correct initial template generation.#1122
davecgh merged 1 commit intodecred:masterfrom
davecgh:cpuminer_decred_udpates

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Mar 5, 2018

This corrects the code to create a new template when first starting up with aggressive mining enable before votes on the most recent block are known.

First, the code is expecting the current best block, not its parent, and second, the coinbase script should match what is created in the normal path as well.

This corrects the code to create a new template when first starting up
with aggressive mining enable before votes on the most recent block are
known.

First, the code is expecting the current best block, not its parent, and
second, the coinbase script should match what is created in the normal
path as well.
@davecgh davecgh force-pushed the cpuminer_decred_udpates branch from 399d375 to 19511af Compare March 5, 2018 18:58
@davecgh davecgh merged commit 19511af into decred:master Mar 5, 2018
@davecgh davecgh deleted the cpuminer_decred_udpates branch March 5, 2018 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants