[Paper Review] Improving Bitcoin's Resilience to Churn
This paper proposes FalafelSync, a prioritized mempool synchronization protocol that improves Bitcoin's resilience to node churn by proactively syncing high-priority transactions. By reducing missing transactions in intermittently connected nodes, FalafelSync increases the success rate of compact block and Graphene block decoding by up to 6x, significantly reducing propagation latency and improving protocol effectiveness during network instability.
Efficient and reliable block propagation on the Bitcoin network is vital for ensuring the scalability of this peer-to-peer network. To this end, several schemes have been proposed over the last few years to speed up the block propagation, most notably the compact block protocol (BIP 152). Despite this, we show experimental evidence that nodes that have recently joined the network may need about ten days until this protocol becomes 90% effective. This problem is endemic for nodes that do not have persistent network connectivity. We propose to mitigate this ineffectiveness by maintaining mempool synchronization among Bitcoin nodes. For this purpose, we design and implement into Bitcoin a new prioritized data synchronization protocol, called FalafelSync. Our experiments show that FalafelSync helps intermittently connected nodes to maintain better consistency with more stable nodes, thereby showing promise for improving block propagation in the broader network. In the process, we have also developed an effective logging mechanism for bitcoin nodes we release for public use.
Motivation & Objective
- To investigate the impact of node churn—especially intermittent connectivity—on Bitcoin's block propagation protocols like Compact Block and Graphene.
- To identify that existing protocols suffer from prolonged convergence times (up to 10 days) and reduced effectiveness (down to 50%) under churn conditions.
- To design and implement a peer-to-peer synchronization protocol that proactively aligns mempools of intermittently connected nodes with stable peers.
- To develop a high-fidelity logging system for measuring and analyzing Bitcoin node behavior, particularly around mempool dynamics and block propagation.
- To evaluate the effectiveness of the proposed protocol in reducing missing transactions and improving block decoding success under realistic churn scenarios.
Proposed method
- Designing FalafelSync as a prioritized synchronization protocol that selects transactions based on ancestor-score, focusing on those most likely to be included in upcoming blocks.
- Implementing FalafelSync within Bitcoin Core to enable real-world testing of synchronization behavior and performance.
- Using a novel logging system to record mempool states, block metadata, and transaction propagation events with high fidelity for experimental analysis.
- Sending synchronization messages via inv/getdata messages to exchange transaction lists between peers, with full transaction data sent only upon request.
- Prioritizing the top 10% of transactions by ancestor-score or 1000 transactions, whichever is larger, to optimize bandwidth and relevance.
- Evaluating performance by measuring Graphene block IBLT decoding success rates and missing transaction counts in intermittent connectivity scenarios.
Experimental results
Research questions
- RQ1How does node churn—specifically intermittent connectivity—affect the effectiveness of the Compact Block and Graphene block propagation protocols?
- RQ2What is the convergence time for a newly joined Bitcoin node to achieve 90% effectiveness in block propagation protocols under normal and churned conditions?
- RQ3To what extent can proactive mempool synchronization reduce missing transactions in intermittently connected nodes?
- RQ4How does FalafelSync improve the success rate of IBLT-based block decoding in Graphene under churn?
- RQ5What is the communication and latency overhead introduced by FalafelSync compared to fallback mechanisms in Compact Block?
Key findings
- A node with 90% uptime (9 minutes on, 1 minute off) experiences a 50% reduction in Compact Block effectiveness due to frequent missing transactions.
- Without FalafelSync, an intermittently connected node suffers from 5 times more failed Graphene block decodings compared to a node with FalafelSync.
- FalafelSync increases the transaction decoding success rate in Graphene blocks by 6 times by reducing mempool inconsistencies.
- The protocol reduces the number of missing transactions in the mempool of intermittently connected nodes, thereby improving readiness for compact block reception.
- FalafelSync incurs minimal bandwidth overhead but significantly reduces round-trip time by pre-synchronizing high-priority transactions.
- The logging system developed enables detailed, reproducible measurement of mempool dynamics and propagation behavior, supporting future Bitcoin research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.