bee
bee copied to clipboard
refactor(storageincentives): extensive rewrite [WIP]
attempt at improvinge the code from terms of
- inaccurate implementation
- inefficiencies
- technical debt
- unortunate design choices
- insufficient test coverage
- separation on concerns.
- code transparency
- lack of comments
TODO:
- add current state channels
- establish readiness loop based on funds, freezing, netrwork health, storage sync rate
- elimiate redistribution state as part the logic completely.
- After use state to save last state in hitrorical DB
- add a buch of tests...
- mine-cac similar to mine-soc to generate integration