BIP 158 Flexibility and Filter Size



Summary:

The author expresses doubt that lite clients cross-checking will ever be implemented due to bandwidth overhead and complexity, as well as the fact that many lite clients already don't implement certain sanity checks. However, the author argues that designing the protocol in an insecure way solely due to lite client shortcuts is overly pessimistic, and if the protocol can provide additional security options, it should. On the topic of filtering, the author suggests that filtering by txid of spending transaction may be preferable to filtering by outpoint spend because there are fewer transactions in a block than txins. However, this approach wouldn't work for malleable transactions. The author is open to the idea of splitting the basic filter into three separate filters based on data type but notes some bandwidth concerns and suggests that splitting the filters themselves while still having the basic filter header cover all three filters could be a solution. This would mean that full nodes would have to compute all three filters to compute the filter header.


Updated on: 2023-06-13T02:27:03.605486+00:00