Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to prune spent UTXO's? #174

Open
biofreeze opened this issue Jan 18, 2024 · 1 comment
Open

Option to prune spent UTXO's? #174

biofreeze opened this issue Jan 18, 2024 · 1 comment

Comments

@biofreeze
Copy link

Is there a way you guys can add a way to prune spent UTXO's? (Obviously after the 2160 required blocks to deal with rollbacks). I don't have need for spent UTXO data, so it would be great because the database will be much smaller and queries will be quicker, etc :)

@SebastienGllmt
Copy link
Contributor

It could be done I guess. You could write a new "Prune" task that depends on the input & output tasks and instead of writing to the database, removes from the database

Of course adding such a task means you wouldn't be able to use any other task hat depends on this data being present, but I sounds like you're okay with that for your use-case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants