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

Want and have interactions #6

Open
ghost opened this issue Jan 7, 2019 · 0 comments
Open

Want and have interactions #6

ghost opened this issue Jan 7, 2019 · 0 comments
Milestone

Comments

@ghost
Copy link

ghost commented Jan 7, 2019

There are lots of little details and edge cases with Want and Have messages.

For example:

  1. You have a piece that your peer wants, and you tell them you have it
  2. They tell you they no longer want it
  3. You delete the piece
  4. They tell you they want it again

When do you tell the peer that you no longer have the piece? What assumptions can your peer make about whether you have the piece? When do they know it’s ok to send a request for the piece?

Figure out how these details work and get more rigorous in the explanation. Maybe try a state machine diagram for this one.

@ghost ghost added this to the v2 milestone Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants