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

How to mantain a full node which only keep latest blocks (for example 100k blocks)? #6168

Open
PikaZ76 opened this issue Feb 12, 2025 · 2 comments

Comments

@PikaZ76
Copy link

PikaZ76 commented Feb 12, 2025

I need to deploy a Tron Full Node, but only used to sync incremental block data. Since this setup only focuses on the latest block data,
so is there any way or a solution to maintain a full node that only retains the most recent blocks, avoiding unnecessary disk space usage caused by historical data?

@abn2357
Copy link

abn2357 commented Feb 12, 2025

Refer to data pruning

@Sunny6889
Copy link

Sunny6889 commented Feb 14, 2025

@PikaZ76 at beginning you could use data pruning as mentioned by @abn2357, but it will keep increasing after your FullNode start to sync with Mainnet. You have to do it regularly.

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

No branches or pull requests

3 participants