Skip to content

Experiments in a improving Bitcoin using a Directed Acyclic Graph instead of a chain

License

Notifications You must be signed in to change notification settings

samkennerly/braidcoin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Braidcoin

Experiments in a improving Bitcoin using a Directed Acyclic Graph

run with Docker

If you have Docker desktop installed, cd to this repo and run

./serve

then point a web browser here:

127.0.0.1:8888

Docker will bind mount folders from this repo and create an etc/ folder for Jupyter config files. The container will not have permission to modify files outside this repo.

run without Docker

Running these examples requires Jupyter and the ipython kernel. Fire up the example notebook in your browser by jupyter notebook.

We use graph_tool for plotting. This one is a bitch to compile, I recommend getting it from your friendly local pre-compiled distribution. I use Ubuntu 16.04. The dependencies for running my notebook are pre-compiled there, just:

sudo apt-get install ipython3-notebook python3-graph-tool python3-joblib python3-scipy

You can also view the example notebook in HTML.

TODO

books/Braid Examples:

  • %pylab is deprecated, use %matplotlib inline
  • Does python-bitcoinlib need sudo apt-get install libssl-dev ?

Update Dockerfile EXPOSE and CMD?

Use scipy.sparse instead of graph-tool? NetworkX for drawing?

Compare to DAG NIGHT: https://eprint.iacr.org/2022/1494.pdf

About

Experiments in a improving Bitcoin using a Directed Acyclic Graph instead of a chain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 56.8%
  • HTML 40.8%
  • Python 2.2%
  • Other 0.2%