GitXplorerGitXplorer
k

tokio-p2p

public
13 stars
2 forks
1 issues

Commits

List of commits on branch master.
Verified
c2d86a2a5931a287966303cdf9536aec0d8f2bb4

Gossip to share connected peers

kkc1212 committed 8 years ago
Verified
9de43676e1d23b10476503a9cb42d0fcc35f5046

Add AddrVec message (no functionality yet)

kkc1212 committed 8 years ago
Verified
2a2613e053d656e34bf128c15c063ab5a74e765e

Refactor fn process into Node

kkc1212 committed 8 years ago
Verified
d755673eeb91e88fc47ca3aa31adb18e7101702b

Refactor Node into NodeInner

kkc1212 committed 8 years ago
Verified
189ebd8d31aba275c0e7eafe462d7595ee1c0161

Update License

kkc1212 committed 8 years ago
Verified
e541954c4894108e10023dacc1ee5e9d1ead8b5d

Remove unused crates

kkc1212 committed 8 years ago

README

The README file for this repository.

tokio-p2p

A toy project demonstrating how to build a peer-to-peer network using tokio. It has a bootstrapping mechanism for discovering initial peers but also does gossiping periodically to discover more peers. A broadcast function exist to send a message to all known peers.

Installing

cargo build

Running

cargo run -- -a 127.0.0.1:12345 -b hello