Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DHClient can have a dhstore URL or API #71

Merged
merged 2 commits into from
Jun 29, 2023
Merged

DHClient can have a dhstore URL or API #71

merged 2 commits into from
Jun 29, 2023

Conversation

gammazero
Copy link
Collaborator

@gammazero gammazero commented Jun 29, 2023

DHashClient can be given a dhstore API interface when the client within dhstore, This is so that dhstore can give it a set of internal functions to call to do dh multihash and metadata lookups. Otherwise, a client that is not in dhstore uses the dhstore URL to perfrom remote dhstore lookups.

Fixes #52

DHashClient can be given a dhstore API interface when the client within dhstore, This is so that dhstore can give it a set of internal functions to call to do dh multihash and metadata lookups. Otherwise, a client that is not in dhstore uses the dhstore URL to perfrom remote dhstore lookups.
@codecov-commenter
Copy link

codecov-commenter commented Jun 29, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (a389fe7) 53.73% compared to head (94cf12e) 53.74%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #71      +/-   ##
==========================================
+ Coverage   53.73%   53.74%   +0.01%     
==========================================
  Files          61       62       +1     
  Lines        4757     4778      +21     
==========================================
+ Hits         2556     2568      +12     
- Misses       1920     1929       +9     
  Partials      281      281              
Impacted Files Coverage Δ
find/client/dhash_client.go 0.00% <0.00%> (ø)
find/client/dhstore_http.go 0.00% <0.00%> (ø)
find/client/option.go 0.00% <0.00%> (ø)

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@gammazero gammazero requested a review from masih June 29, 2023 04:20
@gammazero gammazero merged commit 22a98b8 into main Jun 29, 2023
@gammazero gammazero deleted the dhfind-in-dhstore branch June 29, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify dhash_client to be able to perform /multihash and /metadata lookups through the dhstore interface
3 participants