Skip to content

Conversation

@sdaftuar
Copy link
Member

This fixes the assignment of nSequenceId for headers-first, which can result in blocks being downloaded out of order.

@sipa
Copy link
Member

sipa commented Apr 14, 2015 via email

@laanwj laanwj added this to the 0.10.0 milestone Apr 14, 2015
Also adds a test to CheckBlockIndex
@sdaftuar sdaftuar force-pushed the fix-equal-work-chain-selection branch from 9abac5d to c1ecee8 Compare April 14, 2015 16:55
@sdaftuar
Copy link
Member Author

Added a CheckBlockIndex test and squashed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't the new test fail on older installs, which may have already sequence numbers assigned to blocks that aren't linked?

Copy link
Member

@sipa sipa Apr 15, 2015 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, good

@laanwj
Copy link
Member

laanwj commented Apr 15, 2015

utACK

@laanwj laanwj merged commit c1ecee8 into bitcoin:master Apr 20, 2015
laanwj added a commit that referenced this pull request Apr 20, 2015
c1ecee8 Set nSequenceId when a block is fully linked (Suhas Daftuar)
laanwj pushed a commit that referenced this pull request Apr 20, 2015
Also adds a test to CheckBlockIndex

Conflicts:
	src/main.cpp

Rebased-From: c1ecee8
Github-Pull: #6010
@laanwj
Copy link
Member

laanwj commented Apr 20, 2015

Cherry-picked to 0.10 via bac6fca

@gmaxwell
Copy link
Contributor

tested (basic operating tests) ACK.

reddink pushed a commit to reddcoin-project/reddcoin-3.10 that referenced this pull request Jul 11, 2020
Also adds a test to CheckBlockIndex

Conflicts:
	src/main.cpp

Rebased-From: c1ecee8
Github-Pull: bitcoin#6010
(cherry picked from commit bac6fca)

# Conflicts:
#	src/main.cpp
reddink pushed a commit to reddcoin-project/reddcoin-3.10 that referenced this pull request Jul 14, 2020
Also adds a test to CheckBlockIndex

Conflicts:
	src/main.cpp

Rebased-From: c1ecee8
Github-Pull: bitcoin#6010
(cherry picked from commit bac6fca)

# Conflicts:
#	src/main.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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants