Label: Data Retention
Pages about how and for how long XRP Ledger software stores data.
Concepts
-
Payment System Basics
Ledgers
The XRP Ledger is composed of a series of individual ledgers, or ledger versions, which rippled keeps in its internal database. Learn about the structure and contents of these ledgers.
-
XRP Ledger Servers
Ledger History
rippled servers store a variable amount of transaction and state history locally.
-
Ledger History
Online Deletion
Online deletion purges outdated transaction and state history.
-
Ledger History
History Sharding
History sharding divides the work of keeping historical ledger data among rippled servers.
Tutorials
-
Install rippled
Capacity Planning
Plan system specs and tune configuration for rippled in production environments.
-
Configure rippled
Configure Online Deletion
Configure how far back your server should store transaction history.
-
Configure rippled
Configure Advisory Deletion
Use advisory deletion to delete older ledger history on a schedule rather than as new history becomes available.
-
Configure rippled
Configure History Sharding
Set up a server to contribute to preserving shards of historical XRP Ledger data.
-
Configure rippled
Configure Full History
Full history servers provide a record of every transaction ever to occur in the XRP Ledger, although they are expensive to run.
References
-
XRP Ledger Protocol Reference
Ledger Data Formats
Learn about individual data objects that comprise the XRP Ledger's shared state.
-
Ledger Data Formats
Ledger Header
A unique header that describes the contents of a ledger version.
-
Ledger Data Formats
Ledger Object IDs
All objects in a ledger's state tree have a unique ID.
-
Ledger Data Formats
Ledger Object Types
XRPL.org is a community-driven site for the XRP Ledger (XRPL), an open-source, public blockchain. Get technical documentation, reference materials, and tools.
-
Ledger Object Types
DirectoryNode
Contains links to other objects.
-
Account Methods
account_objects
Get all ledger objects owned by an account.
-
Ledger Methods
ledger_data
Get the raw contents of a ledger version.
-
Ledger Methods
ledger_entry
Get one element from a ledger version.
-
Logging and Data Management Methods
can_delete
Allow online deletion of ledgers up to a specific ledger.
-
Logging and Data Management Methods
crawl_shards
Request information about which history shards peers have.
-
Logging and Data Management Methods
download_shard
Download a specific shard of ledger history.
-
Logging and Data Management Methods
ledger_cleaner
Configure the ledger cleaner service to check for corrupted data.
-
Logging and Data Management Methods
ledger_request
Query peer servers for a specific ledger version.
-
Logging and Data Management Methods
log_level
Get or modify log verbosity.
-
Logging and Data Management Methods
logrotate
Reopen the log file.
-
Logging and Data Management Methods
node_to_shard
Copy data from the ledger store into the shard store.