peer selection logic too restrictive #9072

issue rebroad opened this issue on November 3, 2016
  1. rebroad commented at 8:49 AM on November 3, 2016: contributor

    #9051 is one example of a current issue due to SegWit features apparently starting too early. Until SegWit is voted in (at 95% of the mining vote), I would expect that there should not be any rejecting of non-SegWit nodes, such as preferential peering or rejection of standard blocks - both of which seem to have already started happening with recent releases of Bitcoin Core.

    What does the function IsWitnessEnabled() mean, for example? I would have thought this means that the 95% mining vote has been reached, but according to recent news articles this hasn't happened yet, so why is this function returning true?

  2. laanwj commented at 9:48 AM on November 3, 2016: member

    On mainnet: no. On testnet: yes.

    Preferential peering already happens in preparation for the activation, though. When segwit activates it'd be too late to do so.

  3. laanwj closed this on Nov 3, 2016

  4. rebroad commented at 10:26 AM on November 3, 2016: contributor

    @laanwj Thanks for the clarification. Would you be willing to elaborate on why it would be too late to do so at activation?

    Perhaps I could elaborate on my reason for my question - it seems unnecessary that before activation 0.13.1 nodes are being relied upon so much - for sure, nodes need to be ready to be selective once activation occurs, but this doesn't mean that they need to be selective now. For example, why not let them continue downloading blocks from pre-0.13.1 nodes? As long as they have a connection to some 0.13.1 nodes, they are ready to be selective.

  5. sipa commented at 5:16 PM on November 3, 2016: member
  6. rebroad commented at 3:11 AM on November 4, 2016: contributor
  7. rebroad renamed this:
    Has SegWit activated?
    peer selection logic too restrictive
    on Nov 4, 2016
  8. rebroad referenced this in commit f6e0bcd2e3 on Nov 4, 2016
  9. rebroad referenced this in commit f8b3ff38fb on Nov 4, 2016
  10. rebroad referenced this in commit 3f8e6e7be7 on Nov 4, 2016
  11. rebroad referenced this in commit 61786e6951 on Nov 5, 2016
  12. rebroad referenced this in commit 2cdeb5500e on Nov 5, 2016
  13. rebroad referenced this in commit ed9fa74cff on Nov 6, 2016
  14. rebroad referenced this in commit e78d28738c on Nov 6, 2016
  15. rebroad referenced this in commit e749d9f05f on Nov 6, 2016
  16. rebroad referenced this in commit 050f44836e on Nov 6, 2016
  17. rebroad referenced this in commit 226c2e348d on Nov 6, 2016
  18. rebroad referenced this in commit 0a59b5e99c on Nov 6, 2016
  19. rebroad referenced this in commit ede8b337ec on Nov 6, 2016
  20. rebroad referenced this in commit 8373c186e6 on Nov 6, 2016
  21. rebroad referenced this in commit f0295722ef on Nov 7, 2016
  22. rebroad referenced this in commit 3965b12528 on Nov 8, 2016
  23. rebroad referenced this in commit e9d817aa39 on Nov 9, 2016
  24. rebroad referenced this in commit c99fc633bc on Nov 11, 2016
  25. rebroad referenced this in commit cf668ad3c4 on Nov 24, 2016
  26. rebroad referenced this in commit 727c08c4b9 on Nov 24, 2016
  27. rebroad referenced this in commit a6e7623d23 on Nov 28, 2016
  28. rebroad referenced this in commit ee239ee211 on Nov 29, 2016
  29. rebroad referenced this in commit af7216837d on Nov 30, 2016
  30. rebroad referenced this in commit 40b56f6025 on Dec 1, 2016
  31. rebroad referenced this in commit dec8a9964e on Dec 1, 2016
  32. rebroad referenced this in commit fcef2382c5 on Dec 3, 2016
  33. rebroad referenced this in commit d94d0e3abf on Dec 5, 2016
  34. rebroad referenced this in commit 94d43df94a on Dec 6, 2016
  35. rebroad referenced this in commit 8bd41d082d on Dec 8, 2016
  36. rebroad referenced this in commit e883d79624 on Dec 9, 2016
  37. rebroad referenced this in commit ae4613f192 on Dec 11, 2016
  38. rebroad referenced this in commit cb4c25a229 on Dec 11, 2016
  39. rebroad referenced this in commit cc91bbf07d on Dec 11, 2016
  40. rebroad referenced this in commit 21d0334917 on Dec 12, 2016
  41. rebroad referenced this in commit 8e42b91862 on Dec 12, 2016
  42. rebroad referenced this in commit 881c56c3e6 on Dec 13, 2016
  43. rebroad referenced this in commit 02c0c029f4 on Dec 14, 2016
  44. rebroad referenced this in commit a22563ab66 on Dec 16, 2016
  45. rebroad referenced this in commit cabd3069f8 on Dec 18, 2016
  46. rebroad referenced this in commit 48254a6cf4 on Dec 20, 2016
  47. rebroad referenced this in commit b68a06b9e4 on Dec 23, 2016
  48. rebroad referenced this in commit 699017fdbe on Dec 23, 2016
  49. rebroad referenced this in commit 95f05146bb on Dec 23, 2016
  50. rebroad referenced this in commit f9df47ae7c on Dec 24, 2016
  51. rebroad referenced this in commit 7971e17797 on Dec 26, 2016
  52. rebroad referenced this in commit 19b2a3b5c4 on Dec 26, 2016
  53. rebroad referenced this in commit 308703442b on Dec 26, 2016
  54. rebroad referenced this in commit 4ec20271ab on Dec 26, 2016
  55. rebroad referenced this in commit 78cccec572 on Dec 27, 2016
  56. rebroad referenced this in commit e438189435 on Dec 27, 2016
  57. MarcoFalke 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-04-17 12:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me