Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(iroh): Gossip client #2258

Merged
merged 30 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4e99aad
initial gossip client
rklaehn May 1, 2024
48a2993
Add CLI
rklaehn May 1, 2024
4882412
more comments
rklaehn May 1, 2024
b88398e
fix(iroh-sync): Ignore all gossip events that are not for the sync en…
rklaehn May 1, 2024
2d4ef9e
More logging.
rklaehn May 1, 2024
f53cef5
clippy
rklaehn May 1, 2024
2201a40
Move the gossip types into the gossip dispatcher
rklaehn Jun 5, 2024
6b83cd2
move dispatcher into iroh-gossip under a feature flag
rklaehn Jun 5, 2024
b19ed51
some renaming
rklaehn Jun 5, 2024
5e4b557
Merge branch 'main' into gossip-client
rklaehn Jun 5, 2024
5d6b7d0
fix weird unused warning
rklaehn Jun 5, 2024
865bc0d
PR review
rklaehn Jun 7, 2024
12f564e
Merge branch 'main' into gossip-client
rklaehn Jun 19, 2024
150dcd9
Merge branch 'main' into gossip-client
rklaehn Jun 28, 2024
cb216f6
very simple gossip smoke test
rklaehn Jun 28, 2024
3656b5a
add bootstrap node in both directions
rklaehn Jun 28, 2024
3771dc2
Add new request to add a NodeAddr via rpc
rklaehn Jul 1, 2024
609626f
Move the various node ops into a separate subservice
rklaehn Jul 1, 2024
07d2d30
Merge branch 'main' into gossip-client
rklaehn Jul 1, 2024
eaf4e86
Make clippy happy
rklaehn Jul 1, 2024
c4c8ce9
Merge branch 'add-addr-request' into gossip-client
rklaehn Jul 1, 2024
51dfde8
Make sure the nodes know each others addr without discovery
rklaehn Jul 1, 2024
0b227c0
shut up clippy
rklaehn Jul 1, 2024
08fd369
Merge branch 'main' into gossip-client
rklaehn Jul 1, 2024
2363448
Fix test compile error
rklaehn Jul 1, 2024
4fc00c2
Add short subscribe fn
rklaehn Jul 1, 2024
ede9549
Merge branch 'main' into gossip-client
rklaehn Jul 2, 2024
e71b0c8
Merge branch 'main' into gossip-client
rklaehn Jul 4, 2024
41d067b
Use TestResult crate instead of implementing it
rklaehn Jul 4, 2024
c417236
remove must_use from AbortingJoinHandle
rklaehn Jul 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 53 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions iroh-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ dirs-next = "2.0.0"
flume = "0.11.0"
futures-buffered = "0.2.4"
futures-lite = "2.3"
futures-util = { version = "0.3.30", features = ["futures-sink"] }
hex = "0.4.3"
human-time = "0.1.6"
indicatif = { version = "0.17", features = ["tokio"] }
iroh = { version = "0.19.0", path = "../iroh", features = ["metrics"] }
iroh-gossip = { version = "0.19.0", path = "../iroh-gossip" }
iroh-metrics = { version = "0.19.0", path = "../iroh-metrics" }
parking_lot = "0.12.1"
pkarr = { version = "1.1.5", default-features = false }
Expand Down
1 change: 1 addition & 0 deletions iroh-cli/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub(crate) mod blob;
pub(crate) mod console;
pub(crate) mod doc;
pub(crate) mod doctor;
pub(crate) mod gossip;
pub(crate) mod node;
pub(crate) mod rpc;
pub(crate) mod start;
Expand Down
Loading
Loading