0chain / zboxcli

A client CLI using GoSDK to interface the blockchain, storage platform, and blobbers (storage providers)
Other
28 stars 23 forks source link

Stop unwanted requests if the initial validation is not passed. #130

Closed chauchausoup closed 2 years ago

chauchausoup commented 2 years ago

For example in the case of re-uploading an already existing file via CLI I can see that multiple chunk requests are hit on the server but instead we can minimize the overload and cost by not hitting the requests in the first place if its already existing or similar validation is failed in other cases too.

Screen Shot 2021-11-21 at 21 45 24
cnlangzi commented 2 years ago

similar issue https://github.com/0chain/gosdk/issues/266