ipfs / go-graphsync

Initial Implementation Of GraphSync Wire Protocol
Other
100 stars 38 forks source link

Accept UUIDs from context in new requests #367

Closed hannahhoward closed 2 years ago

hannahhoward commented 2 years ago

What

Similar to how we use context for generating spans for new requests, we should check a specific data value in the context (say 'transfer-uuid' -- a set of bytes or string maybe) and if present use that to set the request uuid for a Graphsync request, rather than calling graphsync.NewRequestID()