[BIP Proposal] Mempool Validation and Relay Policies via User-Defined Scripts

Sep 30 - Sep 30, 2025

  • Aiden McClelland provides feedback on a proposed solution within the context of enhancing Bitcoin development.

He acknowledges the potential of a txnotify-based approach but highlights its limitations in comparison to his proposal. McClelland points out that relying on a single external binary for running policy validation logic undermines the modularity and sandboxing benefits offered by a more distributed arrangement of scripts. This setup, he argues, would be less flexible and might not support the easy customization and scalability that modular scripts do.

Furthermore, McClelland raises concerns regarding the security implications of fetching relay policies over the internet. He suggests that such an approach could introduce vulnerabilities, as it would depend heavily on external data sources. In his view, policy updates should ideally necessitate direct user intervention, reinforcing the system's integrity by reducing dependence on potentially insecure internet-based policy retrievals. This perspective underscores the importance of maintaining a secure and user-controlled environment in the development of Bitcoin-related technologies.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback