Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

yangl1996/prism-testbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice: this is not the testbed code for the paper Prism: Scaling Bitcoin by 10,000x. Code for the paper will be / has been released at yangl1996/prism-rust.

Prism Distributed Testbed

Setting Up

  1. Install jq
  2. Install AWS CLI tool and configure the IAM Key and Region.
  3. Place the SSH key at ~/.ssh/prism.pem
  4. Place this line Include config.d/prism at the beginning of ~/.ssh/config
  5. Execute mkdir -p ~/.ssh/config.d

Usage

Run ./run.sh help to view a list of available commands.

Directories

  • payload: Scripts/data files to be transferred to EC2 machine
  • topologies: Topology files
  • scripts: Scripts used in the testbed
  • log: Logs of the experiment (auto-created)
  • tools: Tools used in the experiment

Tools

gentopo

To build, cd into gentopo and run "cargo build --release". Pre-built binary for macOS is available on GitHub. Run ./gentopo --help to see usage.

Log Files

instances.txt records the EC2 instances that are started in the following format:

<Instance ID>,<Public IP>,<VPC IP>

nodes.txt records the Scorex nodes that are started, in the following format:

<Node Name>,<EC2 ID>,<Public IP>,<VPC IP>,<API IP>,<P2P IP>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published