application-research / autoretrieve

A server to make GraphSync data accessible on IPFS
22 stars 7 forks source link

fix: properly report no candidates and dont_have #101

Closed rvagg closed 2 years ago

rvagg commented 2 years ago

dont_have's aren't being reported when there are no candidates for retrieval - it currently falls through at the bitswap provider and does a blockManager.GetAwait on a block that hasn't been fetched and the "not found" error is ignored (I've added error reporting from there too)