-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Bitswap peer receives duplicate blocks #261
Comments
Essentially what it came down to is that everyone who got out want list sent us every block on it. That's probably not good |
Also, Since this issue is titled "Bitswap Improvements" I figure its a fair place to mention that i feel the strategies are too tightly coupled with the ledgers. I feel like the strategies should be a simpler function (or method on an object) that is passed a ledger as its state. |
Thinking of the ledger as per-peer bitswap state... if we wish to strategize on a per-peer basis, information about the active strategy for the peer must reside within that state. We could remove the StrategyFunc, but the ledger would still need a |
Im pretty sure i can mark this resolved, the latest changeset to bitswap has partially addressed this. (still not perfect, but better) |
@whyrusleeping performed a bitswap test.
Some initial discussion occurred in IRC at #ipfs. Let's open discussion around the implementation of solutions for the various inefficiencies of the current implementation. Empirical and analytical approaches are both welcome.
A couple initial idea come to mind:
edited: with additional info from @whyrusleeping
cc
@danmane
The text was updated successfully, but these errors were encountered: