Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tedim52/avalanche-walrus

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
https://github.com/tedim52/avalanche-walrus

ava-labs avalanche-c-chain gossip-protocol mempool

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# avalanche-gossip-research
CS 6410 Project

## Starting a Cluster via cURL
### Requires
1. avalanche-network-runner
1. An avalanchego node executable
1. 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
1. Fund the network
1. Attach `txn-subscripbers` to each node which will output to the terminal information about transactions
1. 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](https://docs.avax.network/quickstart/fund-a-local-test-network) to complete the integration with MetaMask.

For subsequent tests, go to Account Settings > Advanced and Reset Account for the funded account.