Experiments in a improving Bitcoin using a Directed Acyclic Graph
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.
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.
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