Skip to content

tedim52/avalanche-walrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

avalanche-gossip-research

CS 6410 Project

Starting a Cluster via cURL

Requires

  1. avalanche-network-runner
  2. An avalanchego node executable
  3. cURL

Start the Server

In one terminal run

avalanche-network-runner server \
    --log-level debug \
    --port=":8080" \
    --grpc-gateway-port=":8081"

Cluster Configuration

To specify the nodes in the cluster, write a config file with each node executable and number of nodes on separate lines. For example, the following specifies a network with 5 default avalanchego nodes and 6 modified nodes

5 /home/qburke/avalanchego/build/avalanchego
3 /home/qburke/walrus/build/nodev1

Starting the Cluster

In a separate terminal run the testbed module passing the filename as the first argument This will

  1. Start a cluster with the given configuration
  2. Fund the network
  3. Attach txn-subscripbers to each node which will output to the terminal information about transactions
  4. See this REAMDE in tx-spammer/ to see how to spam transactions to this network

Resetting MetaMask Account

For first time setup, follow the steps in the relevant section of the Avalanche docs to complete the integration with MetaMask.
For subsequent tests, go to Account Settings > Advanced and Reset Account for the funded account.

About

a research project for CS 6410 at Cornell that aims to improve performance of gossiping transactions in the Avalanche C-Chain of the Avalanche C-Chain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published