Skip to content

Conversation

domob1812
Copy link
Contributor

Add a comment that explains why the initial "getheader" requests are made starting from the block preceding the currently best one.

Thanks to @sdaftuar for the explanation!

I slightly reformulated the code, since I believe it is clearer (particularly with the explanation) that way. But if you disagree, let me know and I'll revert the code change and just add the comment.

Add a comment that explains why the initial "getheader" requests are
made starting from the block preceding the currently best one.

Thanks to sdaftuar for the explanation!
@dcousens
Copy link
Contributor

ACK

@jonasschnelli
Copy link
Contributor

utACK

1 similar comment
@instagibbs
Copy link
Member

utACK

@laanwj laanwj added the Docs label Oct 20, 2015
@laanwj laanwj merged commit 53b86d0 into bitcoin:master Oct 20, 2015
laanwj added a commit that referenced this pull request Oct 20, 2015
53b86d0 doc: add comment explaining initial header request (Daniel Kraft)
@domob1812 domob1812 deleted the doc-getheaders branch October 20, 2015 13:05
zkbot added a commit to zcash/zcash that referenced this pull request Feb 19, 2021
Bitcoin 0.12 misc P2P/Net PRs

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#5288
  - Only the reorg, option was removed in bitcoin/bitcoin#6374 which we merged in #1258
- bitcoin/bitcoin#6561
- bitcoin/bitcoin#6728
- bitcoin/bitcoin#6829
- bitcoin/bitcoin#6974
- bitcoin/bitcoin#7075
- bitcoin/bitcoin#7166

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.

5 participants