ipfs / boxo

A set of reference libraries for building IPFS applications and implementations in Go.
https://github.com/ipfs/boxo#readme
Other
181 stars 83 forks source link

gateway: remote blocks backend #594

Closed hacdias closed 3 months ago

hacdias commented 3 months ago

Partially addresses #576: moves all remote blocks stuff to the gateway package, as well as the remote value store we used in the examples. It also includes the cached blockstore as well as the cached dns.

Moving the graph/CAR backend will be more complicated and involved. I will leave that for a separate PR.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 160 lines in your changes are missing coverage. Please review.

Project coverage is 59.98%. Comparing base (fd005f3) to head (4715a54).

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #594      +/-   ##
==========================================
- Coverage   60.61%   59.98%   -0.63%     
==========================================
  Files         232      230       -2     
  Lines       27788    22196    -5592     
==========================================
- Hits        16843    13315    -3528     
+ Misses       9467     7407    -2060     
+ Partials     1478     1474       -4     
Files Coverage Δ
examples/gateway/proxy/main.go 0.00% <0.00%> (ø)
gateway/value_store.go 0.00% <0.00%> (ø)
gateway/remote_blocks_backend.go 0.00% <0.00%> (ø)
gateway/blockstore.go 0.00% <0.00%> (ø)

... and 188 files with indirect coverage changes