Skip to content

andreaslillevangbech/BitcoinSim.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Bitcoin simulator for mining attacks. Inspired by the paper "Majority is not Enough: Bitcoin Mining is Vulnerable" (Eyal and Sirer 2013). You can devise you own policy in Policies.jl. Then add the policy to the loop in MonteCarlo.jl. Currently implemented policies are Selfish mining, Intermittent Selfish mining, Opportunistic selfish mining and Honest mining.

Easiest way to run is through the Julia REPL

pkg> activate .
julia> using BitcoinSim
julia> BitcoinSim.MonteCarlo.main()

About

Bitcoin simulator for mining attacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages