-
Notifications
You must be signed in to change notification settings - Fork 69
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
checkURL interface #542
checkURL interface #542
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice :D
So is it possible to get that method without initializing the whole |
not sure yet why oceanprotocol/provider#57 introduces |
You need a provider class. That should be possible without web3 |
checkUrl takes an URL (http:///www.example.com) and check if your selected provider is able to access it and gets file information (length & type) Let's say that you published www.example.com as DID1. and you are updating the content, but in the DDO you still have the old length of the file. By calling /assetInfo, provider can decrypt the URLs , check if they are still valid, get the file info and then you can update your DDO with the new info |
Code Climate has analyzed commit 2a1af0d and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 83.3% (50% is the threshold). This pull request will bring the total coverage in the repository to 77.7% (0.2% change). View more on Code Climate. |
superseded by #544 |
No description provided.