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?
Stellar Stack Exchange is a question and answer site for developers and users of Stellar and the Stellar Distributed Exchange. It only takes a minute to sign up.Sign up to join this community
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).