Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rkdud007/gossip-p2p-tutorial-rs
libp2p-rs tutorial with gossip protocol
https://github.com/rkdud007/gossip-p2p-tutorial-rs
gossip-protocol libp2p rust
Last synced: 8 days ago
JSON representation
libp2p-rs tutorial with gossip protocol
- Host: GitHub
- URL: https://github.com/rkdud007/gossip-p2p-tutorial-rs
- Owner: rkdud007
- Created: 2024-01-27T13:54:01.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-28T09:26:37.000Z (10 months ago)
- Last Synced: 2024-01-28T12:29:12.575Z (10 months ago)
- Topics: gossip-protocol, libp2p, rust
- Language: Rust
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Goofy Gossip protocol p2p network
Simple gossip protcol implementation with rust libp2p library inspired by ping-pong tutorial from : https://github.com/libp2p/rust-libp2p/blob/master/libp2p/src/tutorials/ping.rs
### Run
First Terminal
```sh
cargo run
```you will get like this
```sh
Listening on "/ip4/127.0.0.1/tcp/51323"
Listening on "/ip4/192.168.0.3/tcp/51323"
Listening on "/ip4/169.254.58.22/tcp/51323"
```Second terminal
```sh
cargo run -- /ip4/127.0.0.1/tcp/51323
```