List implementation PRs for BIP-0157 #1011

pull ysangkok wants to merge 1 commits into bitcoin:master from ysangkok:bitcoin-core-157-impl-prs changing 1 files +30 −0
  1. ysangkok commented at 8:24 PM on October 11, 2020: contributor

    Almost all BIPs that have an implementation in Bitcoin Core, also have a link to their implementation. BIP-0157 was merged into Core, but its implementation is not linked from the BIP, yet. I submit this PR to add these links to the BIP document.

    This table was stolen and adapted from https://github.com/bitcoin/bitcoin/pull/18876 .

    It was authored by John Newbery (@jnewbery). I would appreciate if John would tell me if it is OK that I stole it.

    This BIP was authored by Laolu (@roasbeef). Laolu, you have to ack this for it to get merged. I would appreciate it.

  2. List implementation PRs for BIP-0157
    This table was stolen from
    https://github.com/bitcoin/bitcoin/pull/18876 .
    
    It was authored by John Newbery (@jnewbery).
    002b30bf34
  3. ysangkok commented at 8:26 PM on October 11, 2020: contributor

    Also pinging @aakselrod and @jimpo , they are also listed as authors.

  4. MarcoFalke commented at 8:15 AM on October 12, 2020: member

    Not sure whether it makes sense to require each BIP to include a link to the implementation in Bitcoin Core and at the same time not include implementations in other software projects. Curating a list would be a never-ending maintenance task. Including only one would imply that this is the only one and only correct one. Generally, BIPs regarding the network layer give some amount of freedom for local optimizations, as well as options when it comes to the exact network behaviour. Also, implementations (at least Bitcoin Core) often change the details of how a BIP is implemented. So if a future release of Bitcoin Core changed the internals or network behaviour slightly, would the change needed to be added to the list here as well?

    If the goal here is to give an example implementation, I think it is better achieved by the already existing doc/bips.md in the Bitcoin Core source tree.

  5. jnewbery commented at 11:29 AM on October 12, 2020: member

    It was authored by John Newbery (@jnewbery). I would appreciate if John would tell me if it is OK that I stole it.

    Obviously fine be me to include the table if other people think it's useful, although I agree with marco that it doesn't really make sense to require BIPs to link to the Bitcoin Core implementation (especially here, where there is already a link to a reference implementation).

  6. ysangkok commented at 6:10 PM on October 12, 2020: contributor

    Is a link more useful if it is consensus code? So for e.g. BIP-0141, it makes sense, but for this one, it doesn't? I think it would be best to have a consistent policy, at least.

    Personally, I always liked skimming the implementation. I think it is obvious that an implementation may have changed, I don't understand how it can be a disadvantage to link the PR, since I don't think it happened very often that the initial Core PR was totally broken.

    Also, it can serve to clarify any eventual ambiguities in BIPs, of which there have been many, especially in Lightning.

    Many BIP readers will be more familiar with the Core codebase than the btcd codebase. It doesn't really matter which one is the "reference", it matters which one can aid understanding the BIP for the reader.

    So if a future release of Bitcoin Core changed the internals or network behaviour slightly, would the change needed to be added to the list here as well?

    It would be nice, but I don't think it is necessary. The initial implementation will already help a lot with understanding. In the recent years Bitcoin PRs have been reviewed thoroughly.

  7. sipa commented at 10:40 PM on October 12, 2020: member

    @ysangkok I think using https://github.com/bitcoin/bitcoin/tree/master/doc/bips.md is a better place to look for BIP implemented in Bitcoin Core.

  8. ysangkok closed this on Oct 13, 2020

  9. ysangkok deleted the branch on Oct 13, 2020

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 15:10 UTC

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