-
Notifications
You must be signed in to change notification settings - Fork 89
Adding specification of more protocols #137
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
ben221199
wants to merge
15
commits into
multiformats:master
Choose a base branch
from
ben221199:protocols
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 12 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
68f0270
Add IPv4 protocol
ben221199 28ad11c
Add IPv6 protocol
ben221199 5219809
Remove redundant character
ben221199 10b743f
Add DNS protocol for IPv4
ben221199 b98e714
Add DNS protocol for IPv6
ben221199 fe067f2
Add DNS protocol
ben221199 94a2cf2
Fix links in README file
ben221199 9918f39
Sort protocols
ben221199 65aee3d
Add missing protocols
ben221199 c876b0d
Fix protocol list
ben221199 f785374
Add IPFS and IPNS protocols
ben221199 79f67b0
Add some protocols
ben221199 d5233bc
Fix plural for DNS
ben221199 f2fd74a
Add link to PeerId specification
ben221199 0ae8438
Update IPFS, IPNS and P2P information.
ben221199 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `dccp` | ||
|
||
`dccp` is a protocol that defines which DCCP port should be used. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
TODO | ||
|
||
### Binary | ||
|
||
TODO | ||
|
||
## Binary Size | ||
|
||
16 bits (Implicit) |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# `dns` | ||
|
||
`dns` is a protocol that defines which domain name should be used. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
The human-readable format of the `dns` protocol uses the well-known textual representation: | ||
|
||
example.com | ||
|
||
TODO: Consider also supporting with trailing dot. | ||
|
||
### Binary | ||
|
||
TODO: Consider binary format. Is it a string prefixed by an unsigned varint or should the FQDN encoding be used, where every label is prefixed and the last label has zero length? | ||
|
||
## Binary Size | ||
|
||
Unknown |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# `dns4` | ||
|
||
`dns4` is a protocol that defines which domain name should be used, but only by resolving it to a IPv4 address. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
The human-readable format of the `dns4` protocol uses the well-known textual representation: | ||
|
||
example.com | ||
|
||
TODO: Consider also supporting with trailing dot. | ||
|
||
### Binary | ||
|
||
TODO: Consider binary format. Is it a string prefixed by an unsigned varint or should the FQDN encoding be used, where every label is prefixed and the last label has zero length? | ||
|
||
## Binary Size | ||
|
||
Unknown |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# `dns6` | ||
|
||
`dns6` is a protocol that defines which domain name should be used, but only by resolving it to a IPv6 address. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
The human-readable format of the `dns6` protocol uses the well-known textual representation: | ||
|
||
example.com | ||
|
||
TODO: Consider also supporting with trailing dot. | ||
|
||
### Binary | ||
|
||
TODO: Consider binary format. Is it a string prefixed by an unsigned varint or should the FQDN encoding be used, where every label is prefixed and the last label has zero length? | ||
|
||
## Binary Size | ||
|
||
Unknown |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `http` | ||
|
||
`http` is a protocol that defines to use HTTP. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
None | ||
|
||
### Binary | ||
|
||
None | ||
|
||
## Binary Size | ||
|
||
None |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# `https` | ||
|
||
`https` is a protocol that defines to use secure HTTP. | ||
|
||
Deprecated: use `/tls/http`. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
None | ||
|
||
### Binary | ||
|
||
None | ||
|
||
## Binary Size | ||
|
||
None |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# `ip4` | ||
|
||
`ip4` is a protocol that defines which IPv4 address should be used. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
The human-readable format of the `ip4` protocol uses the quad-dotted format: | ||
|
||
127.0.9.1 | ||
|
||
TODO: Consider also supporting decimal format. | ||
|
||
### Binary | ||
|
||
The binary format of the `ip4` protocol uses the well-known binary format of 32 bits: | ||
|
||
0x7F 0x00 0x00 0x01 | ||
|
||
## Binary Size | ||
|
||
32 bits (Implicit) |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# `ip6` | ||
|
||
`ip6` is a protocol that defines which IPv6 address should be used. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
The human-readable format of the `ip6` protocol uses the colon-seperated format: | ||
|
||
2604:1380:4602:5c00::3 | ||
|
||
TODO: Consider also supporting decimal format and/or format that encloses the IP address with `[` and `]`. | ||
|
||
### Binary | ||
|
||
The binary format of the `ip6` protocol uses the well-known binary format of 128 bits: | ||
|
||
0x26 0x04 0x13 0x80 0x46 0x02 0x5c 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x03 | ||
|
||
## Binary Size | ||
|
||
128 bits (Implicit) |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `ip6zone` | ||
|
||
`ip6zone` is a protocol that defines which IPv6 Scope Zone should be used. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
TODO | ||
|
||
### Binary | ||
|
||
TODO | ||
|
||
## Binary Size | ||
|
||
Variable (Explicit) |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `ipfs` | ||
|
||
`ipfs` is a protocol that defines which file should be queried using the CID containing its hash. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
See the CID specification. | ||
|
||
### Binary | ||
|
||
See the CID specification. | ||
|
||
## Binary Size | ||
|
||
Variable (Explicit) |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `ipns` | ||
|
||
`ipns` is a protocol that defines which file should be queried using the CID containing its hashed public key. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
See the CID specification. | ||
|
||
### Binary | ||
|
||
See the CID specification. | ||
|
||
## Binary Size | ||
|
||
Variable (Explicit) |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `p2p` | ||
|
||
`p2p` is a protocol that defines which peer should be connected to using the PeerId containing its hashed public key. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
See the PeerId specification. | ||
ben221199 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
### Binary | ||
|
||
See the PeerId specification. | ||
|
||
## Binary Size | ||
|
||
Variable (Explicit) |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `quic` | ||
|
||
`quic` is a protocol that defines to use QUIC. | ||
|
||
## Representation Format | ||
|
||
### Human-readable | ||
|
||
None | ||
|
||
### Binary | ||
|
||
None | ||
|
||
## Binary Size | ||
|
||
None |
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.
Uh oh!
There was an error while loading. Please reload this page.