Comments (6)
Notes: This feature should override the node's global fees per byte. There is some refactoring needed in order for us to support this feature. The refactoring includes the following:
- DB file metadata to indicate if fees are set
- Data query response contains the SP's global storage_per_byte and we rely on that. Now with this feature for each file in the data query response we need to specify the fee.
from filefilego.
- Currently 0 Fees means its a free data retrieval, and anything else is the actual fees per byte. This feature should work in the following cases:
- Even if global fees are 0, we can specify the amount needed for the specific file
- If non zero, we can still specify a file with 0 fees
With the above implementation we can cover every possible combination of dynamic pricing
from filefilego.
In the storage access token introspection rpc method, we have the field which shows if we can override the fees
from filefilego.
UI work must also be done
from filefilego.
We might need an additional protocol to identify SP capabilities and settings. e.g. we could know if SP allows dynamic fees and such so we can propagate this capabilities to UI and other apps
from filefilego.
Work have been completed here
from filefilego.
Related Issues (20)
- Allow explicit download from query responses with missing files HOT 1
- Add 2 additional protocols to data_transfer HOT 2
- Add RPC methods for additional data transfer protocols HOT 1
- Storage bug over HTTP and TCP HOT 1
- Recover Panic under worker upload queue HOT 1
- Fix bug to indicate downloaded file parts combined
- Download artifact cleanup HOT 2
- Add OS platform in storage query response HOT 1
- Cancel file download functionality HOT 1
- File upload to network cancellation HOT 1
- Export and import upload file to nodes and network, other rpc HOT 1
- Invalid transactions in pool should be removed HOT 3
- [CLI] Find providers protocol to support nodes behind NAT
- [CLI] Add Create transaction without broadcasting it to the network HOT 1
- Delete uploaded files locally from DB HOT 1
- [UI][CLI] View images in channel entries HOT 1
- [CLI] Move the export/restore uploaded files endpoint to rpc HOT 1
- [CLI] EVM compatible transaction and addresses HOT 2
- create a community forum and chat HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filefilego.