ssbc / scuttlebutt-protocol-guide

Protocol documentation for Secure Scuttlebutt
https://ssbc.github.io/scuttlebutt-protocol-guide/
241 stars 31 forks source link

Only one blob is allowed per response? #52

Open retog opened 3 years ago

retog commented 3 years ago

In a side-note in the want and have section, the Protocol Guide says that only one blob is allowed per response to a blobs.createWants. I see no reason for this limitation, and the implementations I've been interacting with request multiple blobs in a single response, e.g.

{
  "&GKLgK+u/aZP57pNX5/8Bu3M67qJxuHpYxS/b+pwShYw=.sha256":-2,
  "&bzju2bHV5nbuXdPDPF5Sro2acjpJhKlj6+Fwha7JD9s=.sha256":-3
}

Can the guide be changed to describe such wants for multiple blobs or am I missing something?