Reduce Zebra disk usage for mining pools #5718
Labels
A-rpc
Area: Remote Procedure Call interfaces
A-state
Area: State / database changes
C-bug
Category: This is a bug
I-heavy
Problems with excessive memory, disk, or CPU usage
S-needs-triage
Status: A bug report needs triage
Motivation
Some mining pools have asked us to reduce Zebra's disk usage.
Alternative Designs
Here are some different things we could try, in rough order of effort/disruptiveness:
Stop storing duplicate state data
()
and a value ofsprout::Root
. Look up the actual note commitment tree in sprout_anchors.Improve database compression using:
We might want to delay this work until after the audit, because it could change a lot of code:
Add a config to Zebra that doesn't create unused indexes:
Add a config to Zebra that deletes blocks below
finalized tip - how far we look back to check for legacy chains
:The text was updated successfully, but these errors were encountered: