Bodyless Block Propagation: TPS Fully Scalable Blockchain with Pre-Validation

2204.08769

YC

0

Reddit

0

Published 4/9/2024 by Chonghe Zhao, Shengli Zhang, Taotao Wang, Soung Chang Liew

🧠

Abstract

Despite numerous prior attempts to boost transaction per second (TPS) of blockchain systems, many sacrifice decentralization and security. This paper proposes a bodyless block propagation (BBP) scheme for which the blockbody is not validated and transmitted during block propagation, to increase TPS without compromising security. Nodes in the blockchain network anticipate the transactions and their ordering in the next upcoming block so that these transactions can be pre-executed and pre-validated before the block is born. For a network with $N$ nodes, our theoretical analysis reveals that BBP can improve TPS scalability from $O(1/log(N))$ to $O(1)$. Ensuring consensus on the next block's transaction content is crucial. We propose a transaction selection, ordering, and synchronization algorithm to drive this consensus. To address the undetermined Coinbase address issue, we further present an algorithm for such unresolvable transactions, ensuring a consistent and TPS-efficient scheme. With BBP, most transactions require neither validation nor transmission during block propagation, liberating system from transaction-block dependencies and rendering TPS scalable. Both theoretical analysis and experiments underscore BBP's potential for full TPS scalability. Experimental results reveal a 4x reduction in block propagation time compared to Ethereum blockchain, with TPS performance being limited by node hardware rather than block propagation.

Create account to get full access

or

If you already have an account, we'll log you in

Overview

  • Proposes a "bodyless block propagation" (BBP) scheme to increase transactions per second (TPS) in blockchain systems without compromising security or decentralization.
  • The key idea is to have nodes in the network anticipate the transactions and ordering of the next block, pre-execute and pre-validate them before the block is created.
  • Theoretical analysis shows BBP can improve TPS scalability from O(1/log(N)) to O(1), where N is the number of nodes.
  • Requires a consensus algorithm for transaction selection, ordering, and synchronization across nodes.
  • Also includes an algorithm to handle unresolvable transactions like the Coinbase address.

Plain English Explanation

Blockchain systems have struggled to increase their transactions per second (TPS) without sacrificing key properties like security and decentralization. This paper proposes a novel approach called "bodyless block propagation" (BBP) that could help solve this challenge.

The core idea behind BBP is to have the nodes in the blockchain network try to anticipate the transactions and their ordering in the next block before it is even created. By pre-executing and pre-validating these anticipated transactions, the nodes can avoid having to do this work during the block propagation process. This could dramatically speed up how quickly new blocks can be added to the chain, boosting the overall TPS.

The researchers' theoretical analysis suggests BBP could improve TPS scalability from a rate that decreases as the number of nodes increases (O(1/log(N))) to a constant rate that doesn't depend on the number of nodes (O(1)). In other words, adding more nodes to the network wouldn't slow down the system's TPS.

However, for this to work, all the nodes need to reach a consensus on the specific transactions and their order in the next block. The paper proposes algorithms to facilitate this consensus around transaction selection, ordering, and synchronization.

The researchers also had to solve the challenge of dealing with transactions like the Coinbase address, which can't be pre-determined. Their solution includes an algorithm to handle these "unresolvable" transactions in a way that maintains consistency and TPS efficiency.

Overall, the theoretical analysis and experimental results in the paper suggest BBP has significant potential to achieve full TPS scalability for blockchain systems, with block propagation time becoming limited only by the performance of the individual nodes rather than the number of transactions.

Technical Explanation

The paper presents a "bodyless block propagation" (BBP) scheme to boost the transactions per second (TPS) capacity of blockchain systems without compromising security or decentralization. The key innovation is to have nodes in the network anticipate the transactions and their ordering in the next block, and pre-execute and pre-validate these anticipated transactions before the block is actually created.

This approach can theoretically improve TPS scalability from O(1/log(N)) to O(1), where N is the number of nodes in the network. The intuition is that by avoiding the need to validate and transmit most transactions during block propagation, the propagation time becomes independent of the number of transactions in the block.

However, for this to work, all nodes must reach consensus on the specific transaction content of the next block. The paper proposes a transaction selection, ordering, and synchronization algorithm to drive the nodes to this consensus. They also introduce an algorithm to handle unresolvable transactions like the Coinbase address, to maintain a consistent and TPS-efficient scheme overall.

The theoretical analysis and experimental results in the paper suggest BBP has significant TPS scaling potential. The experiments show BBP can reduce block propagation time by 4x compared to the current Ethereum blockchain, with TPS performance limited only by individual node hardware rather than block propagation overhead.

Critical Analysis

The paper presents a novel and promising approach to improving blockchain TPS without compromising core properties like security and decentralization. The theoretical analysis is rigorous, and the experimental results provide encouraging evidence of BBP's potential.

However, there are some important caveats and limitations to consider. First, the consensus algorithm for transaction selection and ordering is a critical component, and the paper does not provide a detailed evaluation of its performance and robustness. Potential issues with consensus algorithms in blockchain systems are discussed in this related paper.

Additionally, the ability to accurately anticipate the contents of the next block may be challenging in practice, especially for larger, more complex blockchains. Inaccurate predictions could undermine the efficiency gains of BBP. This paper on the challenges of decentralized storage frameworks highlights some of the difficulties in maintaining consensus in distributed systems.

Further, the paper does not address potential issues around the fairness and censorship resistance of the transaction selection process. Centralized control over this process could undermine the core principles of blockchain decentralization.

Overall, the BBP approach is an intriguing and well-executed idea that merits further research and experimentation. Addressing the potential practical challenges and ensuring the fairness and robustness of the consensus mechanisms will be crucial next steps. This work on improving block quantization for large language models offers some insights that may be applicable.

Conclusion

This paper proposes a "bodyless block propagation" (BBP) scheme that could significantly improve the transactions per second (TPS) capacity of blockchain systems without compromising security or decentralization. By having nodes anticipate and pre-execute the transactions in the next block, BBP can theoretically boost TPS scalability from O(1/log(N)) to O(1), where N is the number of nodes.

The key technical innovations include consensus algorithms for transaction selection, ordering, and synchronization, as well as a solution for handling unresolvable transactions. Both the theoretical analysis and experimental results suggest BBP has substantial potential to address a longstanding challenge in blockchain scalability.

However, there are important practical considerations around the robustness and fairness of the consensus mechanisms, as well as the ability to accurately predict block contents. Addressing these challenges through further research and real-world experimentation will be crucial next steps to realizing the full potential of the BBP approach.

Overall, this work represents a promising advance in the quest to build highly scalable, secure, and decentralized blockchain systems that can support a wide range of applications. As discussed in this related paper on query optimization, innovations in distributed system protocols like BBP will be key to unlocking the transformative power of blockchain technology.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Related Papers

🌀

Saving proof-of-work by hierarchical block structure

Valdemar Melicher

YC

0

Reddit

0

We argue that the current POW based consensus algorithm of the Bitcoin network suffers from a fundamental economic discrepancy between the real world transaction (txn) costs incurred by miners and the wealth that is being transacted. Put simply, whether one transacts 1 satoshi or 1 bitcoin, the same amount of electricity is needed when including this txn into a block. The notorious Bitcoin blockchain problems such as its high energy usage per txn or its scalability issues are, either partially or fully, mere consequences of this fundamental economic inconsistency. We propose making the computational cost of securing the txns proportional to the wealth being transferred, at least temporarily. First, we present a simple incentive based model of Bitcoin's security. Then, guided by this model, we augment each txn by two parameters, one controlling the time spent securing this txn and the second determining the fraction of the network used to accomplish this. The current Bitcoin txns are naturally embedded into this parametrized space. Then we introduce a sequence of hierarchical block structures (HBSs) containing these parametrized txns. The first of those HBSs exploits only a single degree of freedom of the extended txn, namely the time investment, but it allows already for txns with a variable level of trust together with aligned network fees and energy usage. In principle, the last HBS should scale to tens of thousands timely txns per second while preserving what the previous HBSs achieved. We also propose a simple homotopy based transition mechanism which enables us to relatively safely and continuously introduce new HBSs into the existing blockchain. Our approach is constructive and as rigorous as possible and we attempt to analyze all aspects of these developments, al least at a conceptual level. The process is supported by evaluation on recent transaction data.

Read more

4/24/2024

Maximizing Blockchain Performance: Mitigating Conflicting Transactions through Parallelism and Dependency Management

New!Maximizing Blockchain Performance: Mitigating Conflicting Transactions through Parallelism and Dependency Management

Faisal Haque Bappy, Tarannum Shaila Zaman, Md Sajidul Islam Sajid, Mir Mehedi Ahsan Pritom, Tariqul Islam

YC

0

Reddit

0

While blockchains initially gained popularity in the realm of cryptocurrencies, their widespread adoption is expanding beyond conventional applications, driven by the imperative need for enhanced data security. Despite providing a secure network, blockchains come with certain tradeoffs, including high latency, lower throughput, and an increased number of transaction failures. A pivotal issue contributing to these challenges is the improper management of conflicting transactions, commonly referred to as contention. When a number of pending transactions within a blockchain collide with each other, this results in a state of contention. This situation worsens network latency, leads to the wastage of system resources, and ultimately contributes to reduced throughput and higher transaction failures. In response to this issue, in this work, we present a novel blockchain scheme that integrates transaction parallelism and an intelligent dependency manager aiming to reduce the occurrence of conflicting transactions within blockchain networks. In terms of effectiveness and efficiency, experimental results show that our scheme not only mitigates the challenges posed by conflicting transactions, but also outperforms both existing parallel and non-parallel Hyperledger Fabric blockchain networks achieving higher transaction success rate, throughput, and latency. The integration of our scheme with Hyperledger Fabric appears to be a promising solution for improving the overall performance and stability of blockchain networks in real-world applications.

Read more

7/4/2024

BBCA-CHAIN: Low Latency, High Throughput BFT Consensus on a DAG

BBCA-CHAIN: Low Latency, High Throughput BFT Consensus on a DAG

Dahlia Malkhi, Chrysoula Stathakopoulou, Maofan Yin

YC

0

Reddit

0

This paper presents a partially synchronous BFT consensus protocol powered by BBCA, a lightly modified Byzantine Consistent Broadcast (BCB) primitive. BBCA provides a Complete-Adopt semantic through an added probing interface to allow either aborting the broadcast by correct nodes or exclusively, adopting the message consistently in case of a potential delivery. It does not introduce any extra types of messages or additional communication costs to BCB. BBCA is harnessed into BBCA-CHAIN to make direct commits on a chained backbone of a causally ordered graph of blocks, without any additional voting blocks or artificial layering. With the help of Complete-Adopt, the additional knowledge gained from the underlying BCB completely removes the voting latency in popular DAG-based protocols. At the same time, causal ordering allows nodes to propose blocks in parallel and achieve high throughput. BBCA-CHAIN thus closes up the gap between protocols built by consistent broadcasts (e.g., Bullshark) to those without such an abstraction (e.g., PBFT/HotStuff), emphasizing their shared fundamental principles. Using a Bracha-style BCB as an example, we fully specify BBCA-CHAIN with simplicity, serving as a solid basis for high-performance replication systems (and blockchains).

Read more

5/28/2024

Moonshot: Optimizing Chain-Based Rotating Leader BFT via Optimistic Proposals

Moonshot: Optimizing Chain-Based Rotating Leader BFT via Optimistic Proposals

Isaac Doidge, Raghavendra Ramesh, Nibesh Shrestha, Joshua Tobkin

YC

0

Reddit

0

Existing chain-based rotating-leader BFT SMR protocols for the partially synchronous network model with constant commit latencies incur block periods of at least $2delta$ (where $delta$ is the message transmission latency). While a protocol with a block period of $delta$ exists under the synchronous model, its commit latency is linear in the size of the system. To close this gap, we present the first chain-based BFT SMR protocols with $delta$ delay between the proposals of consecutive honest leaders and commit latencies of $3delta$. We present three protocols for the partially synchronous model under different notions of optimistic responsiveness, two of which implement pipelining. All of our protocols achieve reorg resilience and two have short view lengths; properties that many existing chain-based BFT SMR protocols lack. We present an evaluation of our protocols in a wide-area network wherein they demonstrate significant increases in throughput and reductions in latency compared to the state-of-the-art, Jolteon. Our results also demonstrate that techniques commonly employed to reduce communication complexity$unicode{x2014}$such as vote-pipelining and the use of designated vote-aggregators$unicode{x2014}$actually reduce practical performance in many settings.

Read more

4/22/2024