-
Notifications
You must be signed in to change notification settings - Fork 3
feat: rendezvous protocol initial implementation #6
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
Open
vasco-santos
wants to merge
38
commits into
master
Choose a base branch
from
feat/rendezvous-protocol-full-implementation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
b8bf044
feat: rendezvous protocol full implementation
vasco-santos d7290df
chore: interface-peer-discovery compliance
vasco-santos b080670
feat: garbage collector
vasco-santos ebb22d1
feat: cookie for discovery
vasco-santos 9765a95
chore: cleanup
vasco-santos b6edaf3
chore: update aegir
vasco-santos 0e304f9
chore: convert to seconds in the wire
vasco-santos b248924
chore: remove unregister comments for response
vasco-santos 47641f7
feat: use signed peer records to exchange multiaddrs
vasco-santos b668c8a
chore: tests
vasco-santos 7e3c541
chore: change readme
vasco-santos 1a1590d
chore: update deps
vasco-santos b357829
chore: remove peer discovery interface as we will be creating libp2p.…
vasco-santos 4abd363
chore: use uint8array instead of buffer
vasco-santos 7763df2
chore: update libp2p integration doc
vasco-santos 63d607b
chore: fix register ttl param return
vasco-santos 5f45c6f
chore: update docs
vasco-santos 640b64f
chore: remove enabled property from libp2p integration doc
vasco-santos 8f6e148
chore: apply suggestions from code review
vasco-santos 894ad2e
chore: separate server and client rendezvous
vasco-santos ee10d69
chore: add docker
vasco-santos 3798fbb
fix: changed default values and moved them into the server with prope…
vasco-santos cdf2f6b
chore: update docs and constants
vasco-santos 9fe0691
chore: add tests for protocol with direct connection to server
vasco-santos 52fa2bd
chore: DoS protection with max registrations
vasco-santos 06d53ac
chore: refactor client
vasco-santos d501d97
chore: add datastore and types
vasco-santos a2d5f83
chore: fix build
vasco-santos 83cd4b7
chore: run with mysql
vasco-santos 9b294f5
feat: gc
vasco-santos 9bf5bcb
chore: add gc tests
vasco-santos 7a569c7
chore: review docs and binary
vasco-santos c297156
chore: add datastore docs and model picture
vasco-santos e1cd224
chore: add library docs
vasco-santos 264ce2a
chore: add docker setup docks
vasco-santos 01ec7bc
chore: remove client code and move server into src
vasco-santos 5f025d3
chore: use connection pool
vasco-santos 2840251
fix: bin stdout addresses and ports correctly
vasco-santos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: changed default values and moved them into the server with prope…
…rt errors and client handling
- Loading branch information
commit 3798fbbeabf863136b1ce274e827309f105b8ea8
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,4 +2,7 @@ | |
|
|
||
| exports.PROTOCOL_MULTICODEC = '/rendezvous/1.0.0' | ||
| exports.MAX_NS_LENGTH = 255 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't mentioned anywhere in the spec, it should be, at least as a recommendation otherwise we risk compat issues. |
||
| exports.MAX_LIMIT = 1000 | ||
| exports.MAX_DISCOVER_LIMIT = 1000 | ||
| exports.MAX_REGISTRATIONS = 1000 | ||
| exports.MIN_TTL = 7.2e6 | ||
| exports.MAX_TTL = 2.592e+8 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This spec doesn't mention this protocol at all, we should clarify this there and that this protocol runs over libp2p streams.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libp2p/specs#302