-
Notifications
You must be signed in to change notification settings - Fork 15
raw block response fails hash verification #98
Comments
@b5 think I got to this. To confirm, can you possibly recall or share the exact |
So, this is fun.
|
Unable to reproduce, gateway returns exactly the same bytes as getting raw block: $ ipfs block get bafybeifffvqarrkavsdg664bluuci3ojmmda6st73icfjgzqbb7ffhlkwi > expected
$ curl "http://127.0.0.1:8080/ipfs/bafybeifffvqarrkavsdg664bluuci3ojmmda6st73icfjgzqbb7ffhlkwi?format=raw" > local_curl
$ curl "https://ipfs.io/ipfs/bafybeifffvqarrkavsdg664bluuci3ojmmda6st73icfjgzqbb7ffhlkwi?format=raw" > ipfs.io_curl
$ diff -s expected local_curl
Files expected and local_curl are identical
$ diff -s expected ipfs.io_curl
Files expected and ipfs.io_curl are identical @Arqu perhaps you are comparing different things, such as ps. You may want to look at ipfs/specs#331 which explains internals of dag-pb blocks, but |
When running as a racing gateway iroh fails the the block hash verification for raw.
bafybeifffvqarrkavsdg664bluuci3ojmmda6st73icfjgzqbb7ffhlkwi
The text was updated successfully, but these errors were encountered: