BlockDAG algorithm's Go language simulation for paper "PHANTOM: A Scalable BlockDAG protocol".
Here is the paper link on International Association for Cryptologic Research (IACR) by Yonatan Sompolinsky and Aviv Zohar in Feb. 2018.
They have setup a start-up company to develop BlockDAG since Q4 2017, their website: [https://www.daglabs.com]. And there's an official DAGlabs slack channel: [https://daglabs.slack.com].
Run the simulation for the example on the paper P.7 Fig.3, for algorithm 1 Selection of a blue set.
$ go test -run=Fig3
Run the simulation for the example on the paper P.16 Fig.4, for algorithm 1 Selection of a blue set.
$ go test -run=Fig4
Run the simulation for the example on P.3 Fig.2, P.8 "C. Step #2", for algorithm 2 Ordering of the DAG.
$ go test -run=Fig2
Run the benchmark test:
$ go test ./phantom -bench=Blocks -benchmem
$ go test ./ -test.bench BlueSelection -benchmem -run=^$
$ go test ./ -test.bench BlockOrdering -benchmem -run=^$