Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[P2P] Ensure headers count is correct #7482

Merged
merged 1 commit into from Feb 9, 2016

Conversation

@sdaftuar
Copy link
Member

sdaftuar commented Feb 8, 2016

This should be backported to 0.12.

Now that we're using headers announcements for new blocks, this makes sure that nQueuedValidatedHeaders is properly decremented when a peer disconnects.

@laanwj
Copy link
Member

laanwj commented Feb 8, 2016

utACK

@morcos
Copy link
Member

morcos commented Feb 9, 2016

ACK

@laanwj laanwj merged commit 301bc7b into bitcoin:master Feb 9, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
laanwj added a commit that referenced this pull request Feb 9, 2016
301bc7b Update nQueuedValidatedHeaders after peer disconnection (Suhas Daftuar)
laanwj added a commit that referenced this pull request Feb 9, 2016
Github-Pull: #7482
Rebased-From: 301bc7b
@laanwj
Copy link
Member

laanwj commented Feb 10, 2016

Was cherry-picked to 0.12 as e16f5b4

codablock added a commit to codablock/dash that referenced this pull request Dec 9, 2017
301bc7b Update nQueuedValidatedHeaders after peer disconnection (Suhas Daftuar)

# Conflicts:
#	src/validation.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.