Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tedim52/avalanche-walrus
- Owner: tedim52
- Created: 2022-10-16T18:53:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T00:06:31.000Z (about 2 years ago)
- Last Synced: 2024-06-21T13:15:47.028Z (7 months ago)
- Topics: ava-labs, avalanche-c-chain, gossip-protocol, mempool
- Language: Go
- Homepage:
- Size: 62.8 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.