# Ledgers The XRP Ledger is a shared, global ledger that is open to all. Individual participants can trust the integrity of the ledger without having to trust any single institution to manage it. The XRP Ledger protocol accomplishes this by managing a ledger database that can only be updated according to very specific rules. Each server in the peer-to-peer network keeps a full copy of the ledger database, and the network distributes candidate transactions, which are applied in blocks according to the [consensus process](/docs/concepts/consensus-protocol). [](/assets/ledger-changes.5cb2566ad30986d53f75a86104b32bc7f54b6924a02058940f40a85f4bdef0ae.ac57e6ef.svg) The shared global ledger consists of a series of blocks, called ledger versions or simply *ledgers*. Every ledger version has a [Ledger Index](/docs/references/protocol/data-types/basic-data-types#ledger-index) which identifies the correct order of ledgers. Each permanent, closed ledger also has a unique, identifying hash value. At any given time, each XRP Ledger server has an in-progress *open* ledger, a number of pending *closed* ledgers, and a history of *validated* ledgers that are immutable. A single ledger version consists of several parts: [](/assets/anatomy-of-a-ledger-simplified.51e6727af258a78b6df9cb1e6484b0f2416f0542bf1fee41a5072ef9eaecc3bf.ac57e6ef.svg) * A **header** - The [Ledger Index](/docs/references/protocol/data-types/basic-data-types#ledger-index), hashes of its other contents, and other metadata. * A **transaction tree** - The [transactions](/docs/references/protocol/transactions) that were applied to the previous ledger to make this one. * A **state tree** - All the data in the ledger, as [ledger entries](/docs/references/protocol/ledger-data/ledger-entry-types): balances, settings, and so on. ## See Also - For more information about ledger headers, ledger object IDs, and ledger object types, see [Ledger Data Formats](/docs/references/protocol/ledger-data) - For information on how servers track the history of changes to ledger state, see [Ledger History](/docs/concepts/networks-and-servers/ledger-history)