Waiting For Confirmation: Bitcoin Optech’s Series On Mempool And Policy

2023-9-7 18:37

Much of the discussion about Bitcoin technology lately revolves around various soft-fork consensus changes to the Bitcoin protocol including new opcodes or sighashes or around layer 2 technologies like Lightning. Discussion of mempool or policy (the non-consensus rules around Bitcoin nodes communicating with one another) often falls to the background. However, with recent high transaction volume and launch of various NFT and token projects/platforms and the accompanying feerate spike, mempool and policy came to the forefront.

User of Inscriptions and other protocols ran into issues with standardness policy rules, leading many to question their purpose and look for ways to remove or subvert them. Regular Bitcoin users ran into issues with fees or bumping fees. In an effort to educate and engage the community, Bitcoin developers Gloria Zhao and Murch authored a 10-week series about mempool and relay policy called ‘Waiting for confirmation’ on the Bitcoin Optech website.

The series starts with an overview of what this cache of unconfirmed transactions we call a mempool is and why we have one. Having a mempool of unconfirmed transactions allows better fee estimation for wallets, faster downloading of new blocks, and supports a decentralized transaction and block relay network.

However, Bitcoin miners are under no obligation to include these unconfirmed transactions in a block. As block space is limited, miners select transactions with the highest feerate by transaction weight to maximize their profits. The post on incentives details some nuances around feerates including the fact that onchain fees are paid not in proportion to the transaction amount but by the size of the transaction and complications that arise with relationships between different transactions.

But what should a transaction’s feerate be? That is the goal of feerate estimation: to translate a user’s urgency into a minimal feerate a transaction should pay. Transactions in the mempool and transactions in recent blocks can help provide a good start for estimating transaction fees.

In ‘Bidding for block space’ Gloria and Murch discuss practical strategies to get the most for your transaction fees. When creating a transaction, consider coin selection, using newer output types like taproot’s P2TR that allow for fee savings, or batching. After broadcasting a transaction, techniques like Child Pays For Parent (CPFP) and Replace By Fee (RBF) can be used to increase the feerate of a transaction that is taking too long to confirm.

With the goal of a robust and decentralized network of Bitcoin nodes in mind, we want it to be as cheap and accessible as possible for anyone to run a node. Not only that, but a node’s resources must be protected from DoS attacks. Transaction policy rules that are more restrictive than Bitcoin’s consensus rules help protect node resources (including memory, computational resources, and bandwidth) by enforcing limits on its untrusted peers on the Bitcoin P2P network.

Likewise, network-wide resources including the UTXO set, protocol upgrade hooks, the size of the block chain and the computational effort required to process it, also need to be protected. A series of other policy rules, including limits on arbitrary data publishing to the block chain, minimum feerates, and limits on low value outputs all help safeguard these network resources.

While policy is optional, Bitcoin Core doesn't offer many ways to configure them. In ‘Policy Consistency’ Gloria and Murch outline potential ramifications of altering some of the default policies and why Bitcoin Core has historically been conservative with the configurability of policies.

It is not just individuals running nodes that should be aware of transaction policy rules. Wallets, services, and layer 2 protocols that broadcast transactions must be designed with policy rules in mind to avoid creating transactions that are rejected and to ensure they can get confirmed, even during times of fluctuating feerates. For example, different types of pinning attacks are possible on L2 settlement transactions like Lightning that take advantage of limitations in mempool policy to prevent incentive-compatible transactions from entering mempools or getting confirmed.

Just as policy rules have been changed or added in the past, there are a series of proposals to improve policy as well. Package relay, cluster mempool, version 3 transaction relay, and ephemeral anchors are a few that are under development currently.

However, since transaction relay policy changes to Bitcoin Core can impact many ecosystem participants, they require collaboration, socialization, feedback, and testing from the wider Bitcoin community prior to consideration. The authors note: “Decentralized decision-making is a challenging process, but necessary to support the diverse ecosystem of protocols and applications that use Bitcoin’s transaction relay network.”

Readers should consider getting involved in the different avenues of discussion and participation.

Bitcoin Optech’s also has a podcast special that highlights all of the 10 weeks of our discussion with Murch and Gloria, including comments by guest speakers and questions from the audience.

Thank you to Gloria Zhao and Mark “Murch” Erhardt for authoring the series as well as explaining each weekly article on the Bitcoin Optech Podcast.

Similar to Notcoin - TapSwap on Solana Airdrops In 2024

origin »

Bitcoin (BTC) íà Currencies.ru

$ 62496.09 (-0.12%)
Îáúåì 24H $25.119b
Èçìåíåèÿ 24h: -1.13 %, 7d: 5.66 %
Cåãîäíÿ L: $62021.96 - H: $63112.23
Êàïèòàëèçàöèÿ $1230.895b Rank 1
Öåíà â ÷àñ íîâîñòè $ 25742.76 (142.77%)

bitcoin series optech mempools workings rules nodes

bitcoin series → Ðåçóëüòàòîâ: 126


Ôîòî:

Gemini And Bittrex Add Bitcoin Cash (BCH) Fiat Support Amid Bitmain Pump

Bittrex And Gemini To Both Add BCH/USD Trading Pairs Bitcoin Cash (BCH), the controversial Bitcoin fork, has been seeing its time in the public spotlight over the past few days, with a series of news and developments pushing the price of this crypto asset sky-high, or ‘to the moon’ as some optimistic traders would like […] The post Gemini And Bittrex Add Bitcoin Cash (BCH) Fiat Support Amid Bitmain Pump appeared first on Ethereum World News.

2018-9-28 06:41


Ôîòî:

Exchanges Round-Up: Aus Regulators Doubt Coinjar Volume, Paysend Partners With Bitstamp

In recent news pertaining to cryptocurrency exchanges, Australia’s financial regulators have expressed skepticism regarding Coinjar’s purported trade volume, Paysend has partnered with Bitstamp to facilitate cryptocurrency purchases through its Global Account, and Seed Cx has announced a $15 million USD Series B funding round.

2018-9-16 12:25


Ôîòî:

New Mining Manufacturer Linzhi Announces Ethereum ASIC Miner

Chen Min, the former chief chip maker at Bitcoin mining chip developer Canaan Creative, is turning her attention to Ethereum. Announcing her venture at the Ethereum Classic Summit in Seoul, South Korea, Chen’s new company, Linzhi, will focus on building cryptocurrency mining devices, and its first official products are a series of application-specific integrated circuit (ASIC) miners designed specifically for Ethereum and Ethereum Classic.

2018-9-15 01:22


SportsCastr Expands to MMA with Exclusive Friday Night Fights Streaming Deal

Bitcoin Press Release: Nation’s Longest-Running Muay Thai Series To Stream Exclusive Fights on SportsCastr Starting Sept. 14, 2018. September 14th, 2018, Grand Cayman –SportsCastr, the social live-streaming platform that lets anyone in the world become a color commentator, today announced an official partnership with Friday Night Fights, North America’s longest-running Muay Thai series.

2018-9-14 08:04


Cryptocurrency News September 4: What a Day in the Bitcoin World

Bitcoin, Blockchain and Cryptocurrency News For Today September 4th [VIDEO] Recap Australian Securities Exchange (ASX) Delays Blockchain CHESS Solution Launch to 2021 Australian Securities Exchange (ASX) Delays Blockchain CHESS Solution Launch to 2021 Rick Falkvinge's We Are All Satoshi Crypto Expert Series on Why BCH is the Real Bitcoin Rick Falkvinge's We Are All Satoshi […]

2018-9-5 06:26


Bitfi Bitcoin Wallet Withdraws Unhackable Claim Following Series of Hacks

The controversial McAfee-backed Bitcoin wallet, Bitfi, has withdrawn their claim of being “unhackable” from their website following a series of notable hacks. The wallet, which claimed to be the first wallet without any risks of being compromised, was discovered to have a series of security flaws following the release of evidence from cybersecurity researchers.

2018-9-2 23:00


Ôîòî:

BTCC Founder: The Next Bitcoin Halving Will Push Prices To $60,000

Bobby Lee: Bitcoin Set To Surpass $60k, It’s “Simple Math” The cryptocurrency market has had its fair share of bulls and bears over the years. Bobby Lee, the co-founder of the BTCC exchange and Charlie Lee‘s brother, ostensibly falls into the former category, recently issuing a series of tweets regarding his undying bullish sentiment on […] The post BTCC Founder: The Next Bitcoin Halving Will Push Prices To $60,000 appeared first on Ethereum World News.

2018-8-25 21:02