Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Minority Rule Simulation

Run Monte Carlo simulations of the effects of the minority rule on payment protocol adoption. Read more of the background in this post or check out the notebook for an explanation on methodology and results.

How to run

Requires Python 3.5 or later. It is recommended to install dependencies in a virtual environment.

  1. Install dependencies: pip install -r requirements.txt
  2. Run the simulation with default configs and save the results in the current directory: python minority_sim.py

Custom configurations

To run a simulation with custom configuration:

  1. Create a copy of config.yaml and adjust the parameters.
  2. Pass your config file to the script with: python minority_sim.py --config=./my_config.yaml

Run python minority_sim.py --help for additional options.

About

Run simulations of the effects of the minority rule on payment protocol adoption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published