Skip to content

Releases: lechinskie/ghostdagsim

v0.1.1 - Graphene protocol

Choose a tag to compare

@lechinskie lechinskie released this 05 Jun 14:53

v0.1.1 — new relay protocol graphene

What's included

  • Graphene protocol implementation
  • Tested with 3.47
  • Metrics inplace
  • Minor bug fixes

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
  • Since graphene does not hanlde the case m = n running all nodes miners and graphene enabled probably would cause a crash with complete sync

Pre-built docker image

docker pull ghcr.io/lechinskie/ghostdagsim:0.1.1

Run

docker run --rm \
  -v $(pwd):/results \
  -e MPI_THREADS=4 \
  ghcr.io/lechinskie/ghostdagsim:0.1.1 \
  -- --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

v0.1.0 — Initial GHOSTDAG Simulator Release

Choose a tag to compare

@lechinskie lechinskie released this 23 Mar 19:11
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