
|| Abba's daughter || Creating scroll-stopping visuals || DeFi Storyteller || Web 3 Ambassador || Creator @_replyguys
Joined November 2024
- Tweets17.5K
- Following1.7K
- Followers1.8K
- Likes37.2K
THE XRP LEDGER HAS OPEN, CLOSED AND VALIDATED VERSIONS. WHAT IS THE DIFFERENCE?
These three terms describe different stages in how an XRPL server handles ledger updates.
They are not interchangeable, and understanding the distinction helps explain why a transaction can appear to have been processed without yet having a final result.
Let's examine them individually.
1. OPEN LEDGER
The open ledger is the server's current working version.
It receives and applies incoming transactions as they arrive.
Because different servers may receive transactions in different orders, their open ledgers can temporarily contain different results.
For example, two servers might receive the same transactions but in different sequences. Their temporary ledger states may therefore differ.
This does not mean the network has permanently split. The open ledger is not the final record.
2. CLOSED LEDGER
A closed ledger is a proposed next version of the ledger.
To construct it, a server starts with a previous ledger version and applies a candidate set of transactions in a defined canonical order.
Unlike an open ledger, its contents cannot simply be modified by adding more transactions. However, a closed ledger is not necessarily final. Different servers can have different closed ledger versions at the same ledger index.
Consensus and validation are still needed.
3. VALIDATED LEDGER
This is the version that has been confirmed by the network.
Validators publish cryptographic validation messages containing information that identifies the ledger they have confirmed.
When the required agreement is reached, the ledger becomes validated.
Its contents are final and cannot be changed.
Validated ledgers form the permanent history of the XRP Ledger.
Here is the key distinction:
- Open ledger: A temporary working state.
- Closed ledger: A proposed state awaiting confirmation.
- Validated ledger: A confirmed and final state.
There is also an interesting technical detail.
An XRPL server does not simply take its open ledger and rename it as closed. It builds a new closed ledger from an earlier ledger version using a proposed transaction set, then starts a fresh open ledger.
This design is connected to the way consensus handles differences in transaction arrival times.
So, when checking an XRPL transaction, always pay attention to whether the ledger containing it has actually been validated.
A transaction appearing in a temporary ledger is not the same as having a final outcome.
@XRPLF #XRPEducationMonth
11
HOW DO DIFFERENT COMPUTERS COMMUNICATE ON THE XRP LEDGER?
The XRP Ledger is maintained by independent servers distributed across a peer-to-peer network.
But having several independent computers running the same software is not enough. They need a way to exchange information, discover other servers and coordinate their activities.
XRPL handles this through something called the Peer Protocol.
The peer protocol is the communication system that allows XRP Ledger servers to exchange information directly with one another.
Here are some of the things it makes possible:
1. Peer discovery
A server needs to find other servers before it can communicate with the wider network.
When an XRPL server starts, it attempts to reconnect to peers it previously communicated with. It can also discover additional servers through existing connections.
This process helps servers establish and maintain connections with other participants.
2. Transaction distribution
When a user submits a transaction to a server, that server can share the transaction with other connected servers.
This allows candidate transactions to spread across the network instead of remaining with the first server that received them.
3. Ledger data exchange
Servers can request information about previous ledger versions from other servers.
This is particularly useful when a server needs to catch up with the network or retrieve historical information.
4. Consensus communication
Servers also use the peer protocol to exchange consensus proposals and validation information.
This allows participants to compare proposed transaction sets and communicate the results of processing them.
An important distinction: the peer protocol does not itself decide which transactions are valid or determine the final ledger.
It provides the communication infrastructure through which servers exchange the information needed to perform those tasks.
The actual transaction processing and consensus mechanisms operate according to the XRP Ledger protocol.
This is how independent servers remain connected and coordinate their activities without relying on one central computer to distribute every instruction.
The network is decentralised, but its participants still need a common communication system to function.
@XRPLF #XRPEducationMonth
9
YOUR TRANSACTION HAS BEEN SENT. DOES THAT MEAN IT IS COMPLETE?
Not necessarily.
This is one of the most important things to understand when interacting with the XRP Ledger.
When you submit a transaction, the network receives and processes it. However, an initial response from a server does not automatically mean the transaction has reached its final outcome.
Remember yesterday's discussion about consensus?
Validators participate in the process of agreeing on the transactions that should enter the next ledger.
Once the transaction set has been agreed upon, servers apply those transactions and produce the resulting ledger state.
Validators then confirm the resulting ledger.
When sufficient agreement is reached, that ledger version becomes validated.
This matters because a validated ledger gives you a final record of what the network accepted.
But there is another distinction worth knowing.
A transaction being included in a validated ledger does not automatically mean it succeeded.
The transaction's result must also be checked.
For example, XRPL uses result codes to describe what happened when a transaction was processed.
One important result is:
"tesSUCCESS"
This means the transaction successfully executed.
There are also "tec"-class results.
These indicate that the transaction failed to achieve its intended operation, although it was included in a validated ledger. In such cases, the transaction cost is generally still destroyed.
So, when checking a transaction, two questions matter:
1. Was it included in a validated ledger?
This tells you whether its outcome is part of the final shared ledger record.
2. What was its transaction result?
This tells you whether the requested operation succeeded or failed.
That is why a message saying "transaction submitted" is not the same as a confirmed successful result.
On XRPL, you should check both validation status and the transaction result.
Understanding this distinction helps you read transaction records accurately instead of assuming every submitted instruction was successful.
@XRPLF #XRPEducationMonth
4
79
WHEN YOU PAY A TRANSACTION FEE ON XRPL, WHO RECEIVES IT?
Transaction fees are a familiar part of many digital systems.
But the way the XRP Ledger handles its transaction costs is worth understanding.
Every transaction submitted to the XRP Ledger must specify a fee in XRP.
This fee is not simply a payment to the validator that processes your transaction.
In fact, the XRP used to pay the transaction cost is permanently destroyed.
This process is called burning.
Let's look at why the network does this.
A public blockchain is open to participation. That openness is useful, but it also creates a challenge.
What happens if someone repeatedly submits unnecessary transactions to overwhelm the network?
This is known as spam or denial-of-service activity.
If submitting transactions had no cost, it could become much easier for someone to flood the network with requests and consume its resources.
The XRP Ledger uses transaction costs as one way to discourage this behaviour.
By requiring each transaction to destroy a small amount of XRP, the network makes excessive or malicious transaction activity more costly.
But there is another important detail.
The transaction cost is not always fixed at the same level.
The network has a minimum cost for standard transactions, but this can increase when the network experiences unusually high activity.
Some transaction types also require higher fees than ordinary transactions.
And because the fee is specified in the transaction before it is signed, it cannot simply be changed afterwards without invalidating the signature.
One more thing: a transaction that is included in a validated ledger may still fail to achieve its intended result. In certain failure cases, the transaction cost is nevertheless destroyed.
So, what should you remember?
The XRPL transaction fee is not a reward distributed to validators.
It is a network protection mechanism, and the XRP used to pay it is permanently removed from circulation.
@XRPLF #XRPEducationMonth
1
3
58
NOT EVERYTHING YOU DO ON THE XRP LEDGER IS A PAYMENT.
This is an important detail many beginners overlook.
When people talk about blockchain transactions, they often imagine someone sending a digital asset from one address to another.
That is one type of transaction, but the XRP Ledger supports several others.
A transaction is an instruction submitted to the network to make a change to the ledger.
For example, someone can submit a transaction to:
• Send XRP to another account.
• Create or modify an offer on the decentralised exchange.
• Establish a trust line with another account.
• Create or manage an NFT.
• Change certain settings on an account.
These actions are different, but they all involve submitting instructions that the XRP Ledger must process.
So, how does the network understand what a transaction is supposed to do?
Every transaction has a field called "TransactionType".
This field tells the network the kind of operation being requested.
For example, a "Payment" transaction is used to transfer value. An "OfferCreate" transaction creates an offer on the decentralised exchange, while a "TrustSet" transaction is used to create or modify a trust line.
Transactions also contain common fields.
These include:
Account: The address of the account submitting the transaction.
Fee: The XRP transaction cost specified for the transaction.
Sequence: A number used to control the order in which transactions from an account are applied.
Other fields depend on the type of transaction being submitted.
For instance, a payment needs destination and amount information. An offer needs information about the assets being exchanged and the terms of the offer.
This is how the XRP Ledger can support different activities using one common transaction system.
The next time you hear about an XRPL transaction, don't automatically assume someone is sending XRP.
They could be interacting with an entirely different feature of the ledger.
@XRPLF #XRPEducationMonth
54
WHAT IS AN ACCOUNT ON THE XRP LEDGER?
When you hear the word account, you might immediately think of a bank account or a profile you create on an application.
An account on the XRP Ledger is a little different.
It is an identity recognised by the network, through which a user can hold XRP and authorise transactions.
Every XRPL account has an address. This address is a unique identifier used to recognise the account on the network.
You can think of it as the location other participants use when they need to interact with your account.
But an XRPL account is more than an address.
It has several important components:
1. Account Address
This identifies the account on the XRP Ledger. Standard XRPL addresses begin with the letter "r".
2. XRP Balance
This records how much XRP the account holds. Some of this balance may be reserved and therefore unavailable for ordinary spending.
3. Sequence Number
This is a number that helps the network process transactions from the account in the correct order and prevents the same sequence from being used repeatedly.
4. Transaction History
The ledger keeps records of transactions that have affected the account.
5. Authorisation Keys
An account has cryptographic keys used to authorise transactions. Depending on its configuration, it can also have additional signing arrangements.
There is another interesting detail: an XRPL account does not have to be created through a separate account-registration transaction.
A new account is created when it receives enough XRP to meet the network's account reserve requirement at a valid address.
This means an address can exist as a possible destination before it has an account entry on the ledger.
So, when you look at an XRPL account, you're looking at more than a wallet address. You're looking at a collection of information and settings that allow the network to identify and manage that account.
An address identifies the account. The account holds the information and authorisation structure that allows it to interact with the ledger.
@XRPLF #XRPEducationMonth
62
WHY DOES THE XRP LEDGER GIVE ACCOUNTS SEQUENCE NUMBERS?
Imagine sending several instructions from the same account.
How does the network know which instruction should be processed first?
And how does it prevent an already-used instruction from being applied again?
The XRP Ledger addresses this with something called a Sequence Number.
Every account has a sequence number that helps the network organise transactions submitted from that account.
Each transaction must use the appropriate sequence number for the account at the time it is applied.
When a transaction is included in a validated ledger, the account's sequence number increases by one.
Let's make this easier to understand.
Imagine an account currently has a sequence number of 15.
The next transaction normally needs to use sequence number 15.
Once that transaction is included in a validated ledger, the account's sequence number moves to 16.
The next ordinary transaction must then use 16.
This continues as the account submits transactions.
Why is this important?
1. It helps maintain the correct order.
Transactions from the same account cannot simply be applied in any random order. Sequence numbers help the network establish the expected order.
2. It prevents replaying the same transaction.
A sequence number cannot be reused for another ordinary transaction after it has been consumed.
This helps prevent an old transaction from being submitted repeatedly as though it were new.
3. It helps resolve competing transactions.
If two unconfirmed transactions from the same account use the same sequence number, they are mutually exclusive. At most one can be included in a validated ledger.
There is also an interesting exception called Tickets.
Tickets allow accounts to reserve sequence numbers for later use, making it possible to submit certain transactions without following the normal sequential order.
So, sequence numbers may look like simple counting numbers, but they perform an important job.
They help the XRP Ledger keep transactions organised, prevent repeated use of the same sequence and maintain consistency when processing instructions from an account.
@XRPLF #XRPEducationMonth
2
64
HOW DOES THE XRP LEDGER REACH AGREEMENT WITHOUT A CENTRAL AUTHORITY?
In the last post, we met validators, the servers that propose transactions, compare proposals and work towards agreement.
But how does that agreement actually happen? This brings us to one of the most important concepts in the XRP Ledger: consensus.
In a traditional system, there is usually an authority responsible for confirming which records are accepted as correct.
But the XRP Ledger is decentralised. It does not depend on one central administrator to decide which transactions enter its permanent record. Instead, it uses the XRP Ledger Consensus Protocol.
Why is this needed?
When people submit transactions, different servers receive and share them. Because information takes time to travel across a network, not every server sees the same transactions at the same moment.
If servers independently recorded different sets of transactions, the network could end up with inconsistent records. Consensus helps prevent this.
STEP 1: TRANSACTIONS ARE SHARED
Servers distribute candidate transactions across the peer-to-peer network.
STEP 2: VALIDATORS MAKE PROPOSALS
Validators propose the set of transactions they believe belongs in the next ledger version.
STEP 3: PROPOSALS ARE COMPARED
Validators exchange proposals and adjust them over several rounds until they reach the required level of agreement.
STEP 4: THE TRANSACTION SET IS AGREED
The network settles on which transactions will be considered for the next ledger.
STEP 5: THE NEW LEDGER IS VALIDATED
Each server independently processes the agreed transactions using the same rules. Validators then compare their results. When enough of them agree, that ledger version becomes validated.
Notice that consensus is not simply computers copying from one another. It is about agreeing on which transactions to process, then confirming that the resulting ledger is consistent.
This also helps prevent double-spending, which is when someone tries to use the same digital asset in more than one transaction. By agreeing on transaction sets and their order, the network can resolve conflicting transactions instead of letting different versions of the record stand.
That is how the XRP Ledger maintains one shared history without a central authority.
See you on the next discussion
@XRPLF #XRPEducationMonth
WHO ARE THE VALIDATORS ON THE XRP LEDGER, AND WHY DOES THE NETWORK NEED THEM?
Let's say several independent computers are maintaining information about the same network.
New transactions are constantly being submitted. Some computers may receive certain transactions before others. Their initial views of what should be included in the next ledger may therefore differ.
Validators help settle on one agreed record.
Validators are servers specifically configured to participate in the XRP Ledger's consensus process.
Their job is not simply to store information or receive transactions. They actively participate in the process of agreeing on which transactions should be included in the next ledger version.
Here's what they do:
They examine transactions.
Validators process candidate transactions according to the rules of the XRP Ledger.
They make proposals.
They communicate the sets of transactions they consider suitable for inclusion in the next ledger.
They compare proposals.
Validators exchange information and compare their proposals with those of other validators they recognise.
They participate in agreement.
Through repeated rounds of communication, they work towards agreement on the transaction set.
There is an important point here: validators do not operate as one central committee controlled by a single organisation.
Different individuals and organisations can operate validators. The network's design allows independent participants to contribute to the process.
Also, running a validator does not automatically mean every server on the network trusts it. Each server has its own way of selecting the validators whose proposals it considers.
For now, understand this:
Validators are essential participants in the process that allows the XRP Ledger to agree on a consistent record without depending on one central authority.
But how does that agreement actually happen? That's what we'll explore next.
@XRPLF #XRPEducationMonth
1
52











