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

feat(daemon): warn at pruning a prune node attempt #1471

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

kehiy
Copy link
Contributor

@kehiy kehiy commented Aug 13, 2024

Description

This is not a logic change, this change only helps the user to understand what exactly happens when they try to prune a database that is not passed retention_days, is already pruned, or is at genesis.

I added this since I was working on the previous PR when I was trying to Prune my recently started node and it was telling me it's pruned successfully!!!
But after a check I saw it's still a full node. Then I remembered It needs to pass the retention_days first. so it's a helpful message.

This can improve both UX and DX.

@kehiy kehiy requested a review from b00f August 13, 2024 16:11
@Ja7ad Ja7ad merged commit 8021824 into pactus-project:main Aug 13, 2024
10 checks passed
@Ja7ad Ja7ad added this to the v1.4.1 milestone Aug 13, 2024
@kehiy kehiy deleted the hotfix/prune branch August 13, 2024 16:39
@Ja7ad Ja7ad modified the milestones: v1.4.1, v.1.5.0 Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants