Posted here: https://github.com/BitcoinAndLightningLayerSpecs/balls/blob/main/balls-00138.md

Full text here:

BIP: XXXX
Title: User-Defined Transaction Flags Policy & Strategy
Author: John Carvalho
Type: Standards Track
Created: Apr 15, 2024
Status: Draft

Abstract

This BIP introduces a utility-optimized strategy for Bitcoin mempool policy with new transaction signaling mechanisms, including Do-Not-Replace (DNR) and Replace-by-Fee (RBF), to enhance control over transaction handling and improve the network's economic efficiency.

Motivation

Enhancing user autonomy and network efficiency through precise, user-defined transaction signals that integrate seamlessly with Bitcoin's decentralized nature and existing economic models.

Specification Transaction SignalsEncoding

The new flag signal, DNR, could be encoded similarly to existing RBF flags, with complementary mempool handling and conflict-resolution logic for default local enforcement.


Rationale

Addresses the need for predictable transaction handling while respecting the decentralized, incentive-driven nature of network participants.


Note: This proposal only discusses subjective, arbitrary mempool policy and handling. It is assumed that any local policy that enforces preferred hardware limits is out of scope and remains separately necessary.

Strategic Options for Mempool Evolution

There are three strategic options for evolving the Bitcoin mempool management, where only one should be optimized:


Arguments for User-Definition

Option 1 is favored here because it provides a balanced approach that enhances user experience and network functionality without overly complicating the Bitcoin protocol or risking centralization. By standardizing flags that indicate user preferences, we can achieve greater harmony and utility within the Bitcoin network, supporting diverse user needs while maintaining decentralization. 


More importantly, we may be able to prevent mempool fragmentation and privatization to miners and pools for direct transaction inclusion by intentionally supporting flags that better compete and match transaction use cases within the open mempool network instead of censoring them arbitrarily.


Economic Implications

The introduction of these signals could influence transaction fee markets and network congestion patterns:

Do-Not-Replace (DNR) Use Cases

DNR is valuable in scenarios where transaction finality is crucial upon submission, without the risk of later alterations due to increased fees. Here are some specific use cases:

Replace-by-Fee (RBF) Use Cases

RBF is essential for transactions where timing and confirmation speed are more critical than the immediacy of finality. Here are applicable scenarios:

Adoption and Transition Strategy & Requirements

It is implicit, until now, that within this strategy is a requirement for Core and other implementations to abandon strategies within Option 2, by specifically removing and rejecting policy tools like mempoolfullrbf, or other attempts to overrule, filter, or otherwise filter and hamper the propagation of valid, non-destructive transactions.


This proposal is presented to the community for feedback, focusing on gathering input from wallet developers, miners, and node operators to ensure broad support and understanding of the benefits and implications of these new transaction signals.


--
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 bitcoindev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bitcoindev/cc812488-9da0-4595-be3b-bcfd7ab41106n%40googlegroups.com.