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 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
laanwj added a commit that referenced this pull request Feb 9, 2016
301bc7b Update nQueuedValidatedHeaders after peer disconnection (Suhas Daftuar)
laanwj pushed a commit that referenced this pull request Feb 9, 2016
@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
zkbot added a commit to zcash/zcash that referenced this pull request Aug 13, 2021
Bitcoin 0.12 P2P/Net PRs 1

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#7129
  - Zcash equivalent of BIP 130
- bitcoin/bitcoin#7133
  - Just the last commit (the rest is in #4997)
- bitcoin/bitcoin#7482

Part of #2074.
@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.

None yet

3 participants