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

Implement soft delete for spent elements #109

Merged
merged 5 commits into from
May 2, 2024

Conversation

n8maninger
Copy link
Member

@n8maninger n8maninger commented Apr 30, 2024

This implements soft delete for spent elements, sidestepping the issue of reverts clobbering the chain index. Spent elements will be pruned 144 blocks after their spend height. This also reverts the removal of the chain_indices table to use the foreign key as a bug sanity check.

@n8maninger n8maninger marked this pull request as ready for review May 1, 2024 04:35
@n8maninger n8maninger merged commit ec02463 into master May 2, 2024
8 checks passed
@n8maninger n8maninger deleted the nate/implement-soft-delete branch May 2, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants