NODE_BLOOM BIP



Summary:

The author of the email is opposing the proposed BIP, which suggests extending BIP 37 by defining a service bit for Bloom filters. The author argues that making every possible feature optional is not smart design and notes that there are currently no nodes that cannot support this feature. The proposed BIP aims to allow peers to advertise their support for Bloom filters explicitly, as opposed to assuming that all nodes that serve peers data support it. The specification includes adding the protocol bit NODE_BLOOM, which should be set by nodes that support Bloom filters; otherwise, it should remain unset. If a node does not support Bloom filters but receives a "filterload," "filteradd," or "filterclear" message from a peer, the node should disconnect that peer immediately. The proposed change is backward compatible, and nodes that require the Bloom filter service can set NODE_BLOOM for peers advertising an unchanged protocol version. The proposed BIP also suggests that DNS seeds and other peer discovery mechanisms support the ability to specify the required services. The document has been placed in the public domain, and a reference implementation is available on GitHub.


Updated on: 2023-06-07T16:07:54.419512+00:00