Does the Stellar network have the concept of pruning? If so, how do I go about configuring it?

I am running a node for development purposes but don't want the database and disk usage to become larger than a couple of gigs. Is that possible?

It looks like you are looking for the /maintenance HTTP command. It cleans unnecessary Stellar Core history, including XDR buckets stored on disk and records in the database.

If you plan to use Horizon in conjunction with Core node, you will only have access to the recent Stellar history, as a complete history archive requires a fully-synced Horizon node (currently more than 50 GB for public network).

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.