Simulating a fraud-proof #blockchain network
▻https://hackernoon.com/simulating-fraud-proof-blockchain-network-24bc55b1237c?source=rss----3a8
Simulating a fraud-proof blockchainIn a previous article, I wrote a summary of a paper about Fraud Proofs written by Mustafa Al-Bassam, Alberto Sonnino, and Vitalik Buterin. They propose a secure on-chain scaling solution that gives strong security guarantees.The goal of this article is verifying their results regarding the data-availability section by simulating the system. The paper uses some well-known combinatorics formulas to prove the security of the network in various setups. Since the model is probabilistic, we can make a program to simulate it. After running the #simulation enough times and averaging the results, we hopefully see that we get the same results.I decided to do this not because the mathematics of the paper didn’t convince me, but because I think it would be fun to (...)