Clean up "version" message #4773

issue jgarzik opened this issue on August 28, 2014
  1. jgarzik commented at 2:13 AM on August 28, 2014: contributor

    See discussion in #3982

  2. laanwj commented at 6:57 AM on August 28, 2014: member

    Clean up what exactly?

  3. TheBlueMatt commented at 7:17 AM on August 28, 2014: member

    "The method of extending "version" to enumerate new features is godawful. Would love to just send key/value pairs at the end, or add a "capabilities" message and appropriate detection gadgetry for that new message, etc."

  4. laanwj commented at 7:22 AM on August 28, 2014: member

    I agree with that on a code cleanliness level, but is that really worth a protocol change?

  5. TheBlueMatt commented at 5:38 AM on September 2, 2014: member

    I think the proposal is more for "next time we update version to add more flags". In any case, not sure if we need a bug report for "next time", though it is incredibly hard to keep track of "next time's" (maybe we should have a way to tag those or keep them elsewhere)

  6. sipa commented at 5:52 AM on September 2, 2014: member

    I'd rather not extend version at all anymore. It's trivial to add a new message for negotiating new features, and it's automatically backward compatible that way.

  7. laanwj commented at 7:41 AM on September 2, 2014: member

    Well, that's the problem with issues that aren't actionable and specific, they will end up forgotten at the bottom of the issue list. This is also not so much an implementation issue but a protocol design issue.

    I tend to agree with @sipa here. P2P protocol extensions are bound to get rarer and more subtle, I doubt we'll ever get a chance to redesign version.

  8. laanwj added the label P2P on Dec 5, 2014
  9. laanwj closed this on Feb 9, 2016

  10. 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-20 00:15 UTC

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