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(core): pruning client by prune command #1400

Merged
merged 15 commits into from
Jul 9, 2024

Conversation

Ja7ad
Copy link
Contributor

@Ja7ad Ja7ad commented Jul 8, 2024

Description

The prune command optimizes blockchain storage by removing outdated blocks and transactions, freeing up disk space and enhancing client performance.

Related issue(s)

@Ja7ad Ja7ad requested review from b00f and kehiy July 8, 2024 18:58
@Ja7ad
Copy link
Contributor Author

Ja7ad commented Jul 8, 2024

@b00f I don't have idea to fix this lint error:

cmd/daemon/prune.go:99:2: use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
        fmt.Printf("\r [%s] %.0f%% Pruned: %d | Skipped: %d | Left Block: %d",

store/store.go Show resolved Hide resolved
store/store.go Show resolved Hide resolved
store/config.go Outdated Show resolved Hide resolved
cmd/daemon/prune.go Outdated Show resolved Hide resolved
cmd/daemon/prune.go Show resolved Hide resolved
store/store.go Outdated Show resolved Hide resolved
cmd/cmd.go Show resolved Hide resolved
cmd/daemon/prune.go Outdated Show resolved Hide resolved
cmd/daemon/prune.go Outdated Show resolved Hide resolved
cmd/daemon/prune.go Outdated Show resolved Hide resolved
cmd/daemon/prune.go Outdated Show resolved Hide resolved
store/config.go Show resolved Hide resolved
store/store.go Outdated Show resolved Hide resolved
@kehiy kehiy mentioned this pull request Jul 9, 2024
@b00f b00f merged commit ffa650e into pactus-project:main Jul 9, 2024
11 checks passed
@b00f
Copy link
Collaborator

b00f commented Jul 9, 2024

@Ja7ad Thanks.

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

Successfully merging this pull request may close these issues.

Pruning Store
3 participants