The paper presents a prototype of a blockchain-in-a-box system that enables users to easily set up and manage an Ethereum Proof-of-Work (PoW) network running on multiple Raspberry Pi nodes. The system consists of a local server running on each Raspberry Pi that listens for commands from a master server, which provides a web-based interface for orchestrating the blockchain network.
The key features of the prototype include:
Hardware setup: The system uses Raspberry Pi computers as the blockchain nodes, along with a Wi-Fi router, network switch, and power supplies to create a self-contained, portable blockchain network.
Software setup: Each Raspberry Pi runs a local server that can initialize and manage an Ethereum PoW node using the Go Ethereum (geth) client. The master server controls the Raspberry Pi nodes and allows users to adjust parameters like mining difficulty and peer-to-peer (P2P) network topology.
Visualization: Each Raspberry Pi has a screen attached that displays the current state of its local blockchain, making it easy to observe whether the network is in consensus.
The authors conduct experiments to measure the consensus quality of the blockchain network under different P2P topologies (ring, star, and grid). They analyze metrics such as mainchain rate, branching ratio, contribution ratio, and initial consensus to evaluate the impact of the network topology on the overall consensus.
The results show that the ring topology outperforms the grid and star topologies in terms of mainchain rate and branching ratio, despite the star topology having the shortest average distance between nodes. This is likely due to the overhead of managing multiple peer connections in the star topology, which can act as a bottleneck for consensus.
The prototype demonstrates the feasibility of running a fully functional blockchain network on modest hardware, and its portability and visualization capabilities make it a valuable tool for educational and experimental purposes.
To Another Language
from source content
arxiv.org
Deeper Inquiries