Make sure we disable NODE_BLOOM when pruning is enabled #10384

pull jonasschnelli wants to merge 2 commits into bitcoin:master from jonasschnelli:2017/05/prune_bloom changing 3 files +40 −1
  1. jonasschnelli commented at 8:11 PM on May 10, 2017: contributor

    A peer that runs in prune mode does by default signal NODE_BLOOM. BIP37 can't be supported in autoprune-mode (it partially could but would be unreliable).

  2. Make sure we disable NODE_BLOOM when pruning is enabled 984849bddc
  3. [QA] add service flags test (in conjunction with prune) b9b3a7577a
  4. jonasschnelli added the label P2P on May 10, 2017
  5. jonasschnelli added the label Needs backport on May 10, 2017
  6. TheBlueMatt commented at 8:14 PM on May 10, 2017: member

    A node which wishes to download historical blocks in filtered mode should be looking for NODE_NETWORK | NODE_BLOOM, which we signal correctly. NODE_BLOOM only imples a willingness to serve filtered blocks, not historical blocks, though maybe the BIP should be clarified?

  7. jonasschnelli commented at 8:22 PM on May 10, 2017: contributor

    Yes. I was misinterpreting NODE_BLOOM. @TheBlueMatt is correct. NODE_BLOOM is independent from NODE_NETWORK and someone may want to filter the mempool or some recent blocks. Closing.

  8. jonasschnelli closed this on May 10, 2017

  9. laanwj removed the label Needs backport on Sep 5, 2017
  10. DrahtBot locked this on Sep 8, 2021
Labels

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-24 12:15 UTC

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