carp
carp copied to clipboard
Option to prune spent UTXO's?
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 :)
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