Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

graphsync spec - expand on in order traversal requirement #304

Open
chafey opened this issue Sep 29, 2020 · 0 comments
Open

graphsync spec - expand on in order traversal requirement #304

chafey opened this issue Sep 29, 2020 · 0 comments
Assignees

Comments

@chafey
Copy link
Contributor

chafey commented Sep 29, 2020

I just learned yesterday that the graphsync protocol requires blocks be sent from responder to requester in selector traversal order. This requirement exists so the client can detect a malicious server that is trying to DOS it (without the in order requirement, client side validation of blocks becomes much more complex and resource intensive as it would have to cache or keep track of blocks that it cannot yet validate). This topic should be expanded upon in the spec. Adding this issue here for tracking, I will update the spec later once I have enough updates to do

@chafey chafey self-assigned this Sep 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant