Comments (2)
This can be done by saving the last fee in the db which then can be mutated from the tx that includes the changes from the validators. This way all the transactions that contain the channel operations, will be validated properly.
To conclude, a state for currentChannelFees
must be defined with a default value, and each time its change this value is updated
from filefilego.
Concerns:
Lets assume that Mempool contains 3 tx that create a channel, and the fee is "0x1", and before a new block is sealed the channel creation fees are altered by the validators, if the state of the channel fees is updated before the rest of the transactions have mutated the state, then we could have inconsistent state meaning that their transactions might be invalid.
One solution is to always add transactions that contain the channel fee changes at the end of the list
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
- Dynamic SP fees pricing HOT 6
- [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.