Skip to content

Simulation for `When cryptocurrencies mine their own business ` we will create simulated workers that are given incentive functions similar to real-world incentive mechanisms. We then allow users to select where to start an attack in the network and simulate the attack over time in the network, providing a way for researchers to test their hypot…

Notifications You must be signed in to change notification settings

hammadhaleem/bitcoin-attack-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin-attack-simulation

The idea is to create a simplified simulation of bitcoin, to see if you can introduce a new puzzle chain with its own reward to take power away from the main chain, giving someone with < 50% effective control over the network.

Progress:

  • Currently can only do basic simulations, haven't implemented attacker code yet =======

Bitcoin attack simulation

python miner.py [num_of_blocks] [num_of_miners]

Introdcution

Researchers have discussed and proposed a plethora of attacks that allow for pools with less than 51% of the total CPU power to successfully gain control over the blockchain. With the prevalence of pools with a significant amount of CPU power at their disposal, it's becoming increasingly important to check whether these attacks can be carried out and, if they can be, how we can work to prevent them

Most of these proposed attacks are shown to be mathematically rigorous within their assumptions, but have not been experimentally tested in any meaningful way. This paper proposes a system to simulate various attacks on a blockchain based network and visually analyze various metrics during the attack; the system will also be capable of highlighting various weak points that are vulnerable to the attack being investigated.

To acheive the goals of this system, we will create simulated workers that are given incentive functions similar to real-world incentive mechanisms. We then allow users to select where to start an attack in the network and simulate the attack over time in the network, providing a way for researchers to test their hypothetical attacks. All of this is visually explorable via our system's visual analytics.

About

Simulation for `When cryptocurrencies mine their own business ` we will create simulated workers that are given incentive functions similar to real-world incentive mechanisms. We then allow users to select where to start an attack in the network and simulate the attack over time in the network, providing a way for researchers to test their hypot…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published