Skip to content
Carlos Faria edited this page Jul 15, 2019 · 3 revisions

How to use

You can find here an example of how to import the models and instantiate the SimulationWorld with certain input parameters.

Input parameters

In order to simulate a blockchain protocol you need to have measurements from a real network (a.k.a input parameters)

Config

In config.py it is defined the configurations of the blockchain being simulated.

  • blockchain: points to a specific group of models in blocksim/models (e.g. ethereum will use models in blocksim/models/ethereum
  • locations: list of all available locations corresponding to the measurements in throughput-received.json, throughput-sent.json and latency.json

Real world measurements

Here you can find measurements taken from real deployed instances on AWS.

Clone this wiki locally