Agent-Based Simulations of Blockchain protocols illustrated via Kadena's Chainweb

04/29/2019
by   Tarun Chitra, et al.
0

While many distributed consensus protocols provide robust liveness and consistency guarantees under the presence of malicious actors, quantitative estimates of how economic incentives affect security are few and far between. In this paper, we describe a system for simulating how adversarial agents, both economically rational and Byzantine, interact with a blockchain protocol. This system provides statistical estimates for the economic difficulty of an attack and how the presence of certain actors influences protocol-level statistics, such as the expected time to regain liveness. This simulation system is influenced by the design of algorithmic trading and reinforcement learning systems that use explicit modeling of an agent's reward mechanism to evaluate and optimize a fully autonomous agent. We implement and apply this simulation framework to Kadena's Chainweb, a parallelized Proof-of-Work system, that contains complexity in how miner incentive compliance affects security and censorship resistance. We provide the first formal description of Chainweb that is in the literature and use this formal description to motivate our simulation design. Our simulation results include a phase transition in block height growth rate as a function of shard connectivity and empirical evidence that censorship in Chainweb is too costly for rational miners to engage in. We conclude with an outlook on how simulation can guide and optimize protocol development in a variety of contexts, including Proof-of-Stake parameter optimization and peer-to-peer networking design.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/23/2023

Agent-Based Modelling of Ethereum Consensus

This paper presents a study of the Poof-of-Stake (PoW) Ethereum consensu...
research
11/02/2018

Rationality-proof consensus: extended abstract

Blockchain systems benefit from lessons in prior art such as fault toler...
research
07/31/2019

HotPoW: Finality from Proof-of-Work Quorums

We build a bridge between the notions of Byzantine and Nakamoto consensu...
research
08/29/2019

Agent-based Simulation of Blockchains

In this paper, we describe LUNES-Blockchain, an agent-based simulator of...
research
01/03/2022

Blockchain Nash Dynamics and the Pursuit of Compliance

We study Nash-dynamics in the context of blockchain protocols. We introd...
research
11/28/2019

Competitive equilibria between staking and on-chain lending

Proof of Stake (PoS) is a burgeoning Sybil resistance mechanism that aim...
research
12/06/2019

Selfish Behavior in the Tezos Proof-of-Stake Protocol

Proof-of-Stake consensus protocols give rise to complex modeling challen...

Please sign up or login with your details

Forgot password? Click here to reset