Skip to content

Conversation

@laanwj
Copy link
Member

@laanwj laanwj commented May 12, 2015

Replaces #6079.

When the internal miner is enabled at the start of a new node, there is an near instant assert in TestBlockValidity because its attempting to mine a block before the top checkpoint.

Also avoids a data race around vNodes.

When the internal miner is enabled at the start of a new node, there
 is an near instant assert in TestBlockValidity because its attempting
 to mine a block before the top checkpoint.

Also avoids a data race around vNodes.
@laanwj laanwj force-pushed the 2015_05_gen1_startup branch from 89388eb to bba7c24 Compare May 12, 2015 12:07
@laanwj laanwj merged commit bba7c24 into bitcoin:master May 12, 2015
laanwj added a commit that referenced this pull request May 12, 2015
bba7c24 Avoid crash on start in TestBlockValidity with gen=1. (Gregory Maxwell)
gmaxwell added a commit that referenced this pull request May 12, 2015
When the internal miner is enabled at the start of a new node, there
 is an near instant assert in TestBlockValidity because its attempting
 to mine a block before the top checkpoint.

Also avoids a data race around vNodes.

Github-Pull: #6123
Rebased-From: bba7c24
reddink pushed a commit to reddcoin-project/reddcoin-3.10 that referenced this pull request May 27, 2020
When the internal miner is enabled at the start of a new node, there
 is an near instant assert in TestBlockValidity because its attempting
 to mine a block before the top checkpoint.

Also avoids a data race around vNodes.

Github-Pull: bitcoin#6123
Rebased-From: bba7c24
(cherry picked from commit da65606)

# Conflicts:
#	src/miner.cpp
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants