Skip to content

v0.1.0 — Initial GHOSTDAG Simulator Release

Pre-release
Pre-release

Choose a tag to compare

@lechinskie lechinskie released this 23 Mar 19:11
· 106 commits to master since this release
d1a82c1

v0.1.0 — Initial Release

First public release of ghostdagsim, an ns-3/MPI network simulator
for the GHOSTDAG consensus protocol.

What's included

  • GHOSTDAG ordering algorithm with blue/red block classification
  • Honest miner model with Poisson block generation
  • Inv-based block and transaction propagation
  • Geographic P2P topology with Pareto latency modeling
  • MPI distributed simulation support
  • Metrics collection
  • Unit tests for DAG and mempool logic

Requirements

  • ns-3.46+ with MPI enabled
  • CMake 3.10+, C++17, MPI implementation

Quick start

See README for build and run instructions or use Pre-built docker image described below.

Known limitations

  • Only honest miner strategy implemented (attacker modeling planned)
  • Tested with up to 1000 nodes on MPI; large-scale stress testing ongoing

Pre-built docker image

docker pull ghcr.io/eramoss/ghostdagsim:0.1.0

Run

docker run --rm \
  -v $(pwd):/results \
  -e MPI_THREADS=4 \
  ghcr.io/eramoss/ghostdagsim:0.1.0 \
  -- --nodes=20 --miners=10 --blocks_per_miner=50

or you can use also -e MPI_ARGS="args..." to pass any mpi argument that you need