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

Draft: Wire protocol (DEP) #8

Merged
merged 23 commits into from
Feb 27, 2019
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
clarify ack flag
  • Loading branch information
bnewbold committed Jan 20, 2019
commit f17d15ea63529221a2c7c76f23bf3d9fbaddff0c
2 changes: 1 addition & 1 deletion proposals/0000-wire-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Some notes on the fields:
- **live** If both peers set to true, the connection will be kept open indefinitely.
- **userData** An open field for sending data which you can retrieve on handshake. No value is prescribed by the protocol.
- **extentions** A list of strings identifying additional message-types which are supported via the Extension message.
- **ack** Should all blocks be explicitly acknowledged? TODO how should this work?
- **ack** A peer (the "sender") can set this flag to request that every time another peer (a "receiver") gets a `Data` message from the sender, that they reply with an explicit `Have` message once they have successfully persisted the data in storage. This lets the "sender" track how many persisted copies of a chunk there are.

```
message Handshake {
Expand Down