Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noot/try-dandelion
dandelion++ gossipsub simulator
https://github.com/noot/try-dandelion
Last synced: about 2 months ago
JSON representation
dandelion++ gossipsub simulator
- Host: GitHub
- URL: https://github.com/noot/try-dandelion
- Owner: noot
- Created: 2022-09-17T22:05:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-18T09:49:46.000Z (over 2 years ago)
- Last Synced: 2024-10-15T22:27:19.486Z (3 months ago)
- Language: Go
- Size: 52.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# try-dandelion
Program to run many libp2p nodes with standard gossipsub or with dandelion++.
## Usage
```
git clone https://github.com/noot/go-libp2p-pubsub
cd go-libp2p-pubsub
git checkout dandelion
```Then, somewhere else:
```
git clone https://github.com/noot/try-dandelion
cd try-dandelion
```Modify the `go.mod` replace directive in this repo to point to your local clone of `go-libp2p-pubsub`.
Then:
```
go build
./try-dandelion --count=50 --duration=120 # without dandelion
./try-dandelion --count=50 --duration=120 --dandelion # with dandelion
```With a lot of nodes you may need to do `ulimit -n 1000000`.