Skip to content

v0.1.1 - Graphene protocol

Latest

Choose a tag to compare

@lechinskie lechinskie released this 05 Jun 14:53
· 18 commits to master since this release

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