-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Retrieving historical ledgers over p2p
Elliot Lee edited this page Jan 4, 2024
·
1 revision
You can configure your rippled
to attempt to store a particular ledger index (sequence). There are a few different ways.
For example, if you want Devnet ledger 3058257 and newer:
Set [ledger_history]
in your config to be big enough such that the current network ledger index - that value < the target ledger index (3058257).
Enable online_delete
and set advisory_delete=1
. Then once rippled is running, call rippled can_delete <target ledger - 1>
, e.g. rippled can_delete 3058256
Both of these solutions require that enough nodes on the network have history going back at least that far. rippled
will attempt to backfill from peers.