Introduction
Blockchain technology is increasingly being integrated into wireless local area networks (WLANs) to provide decentralized security and data integrity. However, the inherent randomness of wireless medium access control (MAC) protocols, specifically Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA), introduces significant challenges for blockchain consensus. This paper investigates the "wireless forking" phenomenon and proposes Block Access Control (BAC) strategies to mitigate its effects, thereby enhancing network throughput and energy efficiency.
The Wireless Forking Problem
In a typical Proof-of-Work (PoW) blockchain, the first node to solve a cryptographic puzzle earns the right to broadcast a block. In a Blockchain-based Wireless Local Area Network (B-WLAN), nodes share the wireless medium using CSMA/CA. This protocol requires nodes to wait for a random "backoff" period before transmitting to avoid collisions.
This mechanism creates a unique hazard known as "wireless forking":
- Race Conditions: A node that generates a block later than another might select a shorter backoff timer and transmit sooner, effectively winning the race due to MAC-layer timing rather than computational speed.
- Forking Explosion: During the backoff period, other nodes (or the node itself) may generate additional blocks at the same height. This leads to massive chain forking, which wastes computational energy, lowers transaction throughput, and increases vulnerability to double-spending attacks.
Block Access Control (BAC) Strategies
To address these issues, the authors propose four BAC strategies derived from two mining strategies and one discard strategy:
- Mining Strategy I: A node pauses its mining process whenever it detects another node transmitting a block on the channel.
- Mining Strategy II: A node pauses mining as soon as it generates its own valid block and enters the backoff/transmission phase.
- Discard Strategy: If a node receives a new block from the network that is at the same height as the one it is currently attempting to transmit, it immediately discards its own block to prevent a fork.
The researchers evaluate four combinations of these strategies, labeled BAC-1 through BAC-4. The following table summarizes which components are active in each strategy level:
Performance Modeling and Key Results
The authors developed custom discrete-time Markov Chain models to analyze the interaction between the Poisson process of block generation and the state-based CSMA/CA backoff procedure. Numerical analysis and Matlab simulations based on standard IEEE 802.11 specifications yielded several key insights:
- Throughput Gains: BAC-4, which combines both mining pause strategies and the discard strategy, achieves the highest transaction throughput, particularly in dense networks with high block generation rates. For instance, a system with 10 nodes can reach nearly 480 transactions per second (tps) under ideal conditions.
- Block Utilization: While standard setups (BAC-1) see a sharp drop in block utilization as network load increases, BAC-4 maintains high and stable utilization by minimizing redundant block generation.
- Energy Efficiency: The strategies significantly improve power efficiency. By pausing mining when the channel is busy or a candidate block has already been found, nodes save substantial battery life without compromising network security.
Conclusion and Future Work
This research demonstrates that blockchain performance in wireless environments is heavily influenced by the underlying MAC layer. The proposed BAC strategies effectively manage channel contention to reduce wireless forking. Future work will extend this model to account for non-ideal channel conditions (e.g., fading and interference) and explore multi-hop wireless mesh network topologies.
Summary updated