FilOzone / FilOzone/SessionKeyRegistry
Incentivize cleanup with rebate
Offen
enhancement
- Vorherrschende Sprache
- Solidity
- Sterne
- 0
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Similar to https://github.com/airswap/airswap-aips/issues/12
State growth in the session key registry can be curtailed by refunding a deposit when storage is cleared. Setting zeroes to nonzeroes should require a fixed deposit, to refunded when nonzeroes are set to zeros.
Additionally, provide a public method to clear out expired permissions to claim the rebate.
This would limit the extent to which state growth is possible. State growth can be limited further by restricting the expiry duration.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.