Open nichoth opened 2 years ago
https://github.com/ssb-ngi-pointer/ssb-db2/issues/307
Blob replication is handled entirely by the plugin ssb-blobs
Why is this not my experience? We see broken links unless we explicitly replicate blobs.
See the push method
via %2s32sWdS14QUKXECTGmwSjTN9fost9eV6TdedsCcSvc=.sha256
We don’t do anything different in Manyverse in comparison to (say) Patchwork. The plugin we use is ssb-blobs, and I think one important part of that subprotocol is to “push” the blobs to peers connected, not just make it available for “pull”, which is the request thing you mentioned.
push though is only relevant if a client is posting a new message... for a viewer app we would need to get blobs as we notice them being referenced.
links to relevant posts
How to test?
Overall GOAL: We want to request any blobs that have been mentioned in a post and save it to our server.
choose a pub to request a blob from
stream errors
https://github.com/ssbc/ssb-server/blob/99fad7c5f6e436cbd670346b4da20c57222a1419/plugins/blobs/replication.js#L190