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

Introduce identify and rendezvous network protocols #304

Merged
merged 20 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e8c5f7a
Add rendezvous and identify feature dependencies for libp2p
mycognosist Mar 17, 2023
9969eef
Introduce configuration parameters for rendezvous client and server
mycognosist Mar 17, 2023
ca40ec4
Move network behaviour composer into separate module
mycognosist Mar 17, 2023
6312f00
Add behaviour handlers for identify and rendezvous
mycognosist Mar 17, 2023
9caf18d
Add custom validator for rendezvous client mode
mycognosist Mar 18, 2023
38c561c
Add handler to dial peers discovered via rendezvous server
mycognosist Mar 19, 2023
9cc5c3e
Log failed registration attempt with rendezvous server
mycognosist Mar 19, 2023
f136010
Add handlers for Sent, Pushed and Error identify events
mycognosist Mar 19, 2023
2a1d96e
Add serde feature to libp2p dependency
mycognosist Mar 19, 2023
d789431
Add libp2p dependency to CLI for parser
mycognosist Mar 19, 2023
fbd2201
Update lockfile
mycognosist Mar 19, 2023
8481075
Replace String with Multiaddr and PeerId in CLI and config
mycognosist Mar 19, 2023
ce2c7d0
Add glyph to authors
mycognosist Mar 19, 2023
edac3b7
Update CHANGELOG
mycognosist Mar 20, 2023
c5ef331
Remove TODOs and errant whitespace
mycognosist Mar 20, 2023
45b7b81
Manually add external address and discover peers on rendezvous connec…
mycognosist Mar 20, 2023
fef9056
Make log formatting syntax more consistent
mycognosist Mar 20, 2023
56224b7
Update CLI usage instructions
mycognosist Mar 20, 2023
158beca
Add additional rendezvous client behaviour check and unwrap comments
mycognosist Mar 23, 2023
63aa43f
Use if let to avoid unwrap
mycognosist Mar 23, 2023
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Introduce `identify` and `rendezvous` network protocols / behaviours [#304](https://github.com/p2panda/aquadoggo/pull/304)

### Added

- Introduce libp2p networking service and configuration [#282](https://github.com/p2panda/aquadoggo/pull/282)
Expand Down
205 changes: 201 additions & 4 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions aquadoggo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ authors = [
"pietgeursen <pietgeursen@gmail.com>",
"sandreae <contact@samandreae.com>",
"sophiiistika <sophiiistika@mailbox.org>",
"glyph <glyph@mycelial.technology>",
]
description = "Embeddable p2p network node"
license = "AGPL-3.0-or-later"
Expand Down Expand Up @@ -38,6 +39,9 @@ libp2p = { version = "^0.51.0", features = [
"quic",
"ping",
"mdns",
"identify",
"rendezvous",
"serde",
] }
lipmaa-link = "^0.2.2"
log = "^0.4.17"
Expand Down
Loading