Always allow getheaders from whitelisted peers #6974

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2015_11_whitelisted_allow_headers changing 1 files +3 −3
  1. laanwj commented at 1:33 PM on November 9, 2015: member

    Process getheaders messages from whitelisted peers even if we are in initial block download. Whitelisted peers can always use a node as a block source.

    Also log a debug message when the request is ignored, for troubleshooting.

    Addresses #6971.

  2. Always allow getheaders from whitelisted peers
    Process `getheaders` messages from whitelisted peers even if we are in
    initial block download. Whitelisted peers can always use a node as a
    block source.
    
    Also log a debug message when the request is ignored, for
    troubleshooting.
    
    Fixes #6971.
    40b77d450d
  3. laanwj added the label P2P on Nov 9, 2015
  4. sdaftuar commented at 2:48 PM on November 9, 2015: member

    utACK

  5. dcousens commented at 10:13 PM on November 9, 2015: contributor

    utACK

  6. gmaxwell commented at 10:37 PM on November 9, 2015: contributor

    I think this should also whitelist bypass maxuploadtarget-- for the same reason, no?

  7. jonasschnelli commented at 8:15 AM on November 10, 2015: contributor

    @gmaxwell: Agree with a pass for all whitelisted nodes --maxuploadtarget. I think that should be addresses in another PR (which I will open soon).

  8. laanwj merged this on Nov 11, 2015
  9. laanwj closed this on Nov 11, 2015

  10. laanwj referenced this in commit 2f71b07d5e on Nov 11, 2015
  11. luke-jr referenced this in commit 8766acdb0d on Nov 18, 2015
  12. rebroad cross-referenced this on Aug 26, 2016 from issue Provide bloom services to whitelisted nodes. by rebroad
  13. rebroad referenced this in commit 22a4a4fd5c on Nov 2, 2016
  14. rebroad cross-referenced this on Nov 2, 2016 from issue Ignore getheaders prior to passing all checkpoints. by rebroad
  15. rebroad referenced this in commit f5b82fe0bb on Nov 2, 2016
  16. rebroad referenced this in commit f032d43aa0 on Nov 2, 2016
  17. rebroad referenced this in commit 7f68d44c58 on Nov 2, 2016
  18. rebroad referenced this in commit 83d40a910f on Nov 2, 2016
  19. rebroad referenced this in commit cc61ff61ea on Nov 4, 2016
  20. rebroad referenced this in commit e58dcdd7ce on Nov 5, 2016
  21. rebroad referenced this in commit 6c0f1ba60f on Nov 5, 2016
  22. rebroad referenced this in commit 0ec255a812 on Nov 6, 2016
  23. rebroad referenced this in commit 65a43abf3a on Nov 6, 2016
  24. rebroad referenced this in commit ec7fac9a23 on Nov 6, 2016
  25. daira cross-referenced this on Mar 4, 2017 from issue Bitcoin 0.12 misc PRs 1 by str4d
  26. str4d cross-referenced this on Mar 4, 2017 from issue Improvements to getheaders handling by str4d
  27. str4d cross-referenced this on Jul 14, 2017 from issue Bitcoin 0.12 P2P/Net PRs 1 by str4d
  28. MarcoFalke cross-referenced this on Jun 8, 2020 from issue net: Extract download permission from noban by MarcoFalke
  29. str4d cross-referenced this on Feb 18, 2021 from issue Bitcoin 0.12 misc P2P/Net PRs by str4d
  30. zkbot referenced this in commit e10008da66 on Feb 18, 2021
  31. zkbot referenced this in commit 777deea264 on Feb 19, 2021
  32. zkbot referenced this in commit b62e35dee8 on Feb 19, 2021
  33. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:55 UTC