New P2P commands for diagnostics, SPV clients



Summary:

In a discussion between developers on the Bitcoin mailing list, Mike Hearn proposed combining two functions related to bloom filters in order to streamline the code. However, another developer explained that having separate functions allows for more flexibility and negotiation between SPV clients and full nodes. By using 'filterload' and 'filteradd', transactions matching the bloom filter are announced and serialized blocks only include matching transactions. The format of how these arrive was discussed, with the suggestion of a CFilteredBlock or similar structure to avoid redundancies in the CMerkleTx's. This is important for scalability as it allows for limitations on CPU/memory usage for each node when serving multiple SPV peers.


Updated on: 2023-05-19T03:41:41.799903+00:00