On 9/24/25 14:18, Aiden McClelland wrote:
I'd like to share for discussion a draft BIP to allow for a modular mempool/relay policy: https://github.com/bitcoin/bips/pull/1985

Javascript implementations are notoriously bad at safe sandboxing. The most well-maintained, V8, has security vulnerabilities fixed nearly every month.

Additionally, using the filesystem as such is a "power user" task, while many people running nodes are (or should be) ordinary end users who don't necessarily understand these concepts.

I think a better path forward would be some kind of simple domain-specific language. This way it could be designed to make abuse (eg, for censorship) difficult, have an end-user friendly interface, and allow for transparent native optimisations (or even profile at runtime to reorder classifiers as optimal for the fastest reject).

However, I do understand this increases the complexity significantly, and so your concept may be "good enough" in practice, at least as an initial proof-of-concept. But I would finish and test that POC in the real world first, before exploring a BIP for the interface.

Luke

--
You received this message because you are subscribed to the Google Groups "Bitcoin 
Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bitcoindev/b5688bf9-f872-4655-ae68-8876348479e1%40dashjr.org.

Reply via email to