The Ripple Protocol Consensus Algorithm (RPCA)
The concept
If the previous lesson left one open question, it's this: how do validators actually "converge" on the next ledger without mining or staking? The answer is the Ripple Protocol Consensus Algorithm, or RPCA.
Here's the core idea in plain terms. Each validator maintains its own list of other validators it trusts — called a Unique Node List (UNL). When it's time to close a new ledger, each validator proposes a candidate set of transactions it believes are valid. Validators then share their proposals with each other and go through several rounds, each time adjusting their own proposal to move closer to agreement with the validators on their UNL. This is an iterative narrowing process, not a single vote. Once a given transaction set reaches support from at least 80% of a validator's UNL, that validator finalizes it as the next ledger. When enough independent validators across the network do this with sufficiently overlapping UNLs, the network as a whole converges on the same validated ledger.
Compare this to the two alternatives you learned about in Lesson 1.3. Proof-of-work spends real-world energy to make dishonest behavior costly — the "cost" is the computational race itself. Proof-of-stake requires validators to lock up capital that can be destroyed ("slashed") if they act dishonestly — the "cost" is staked capital at risk. RPCA has neither mining nor staking. Its trust assumption is different: it relies on enough of the validators a server chooses to trust (its UNL) being honest and independent of one another. There's no financial penalty built into the protocol for a dishonest validator the way there is in proof-of-stake slashing — the safeguard is architectural (UNL overlap across independent, diverse operators) rather than economic.
This is why the Unique Node List matters so much, and why a default, recommended UNL — such as the one published by the XRP Ledger Foundation — exists: it lowers the barrier for a new server operator to participate without forcing anyone to use it. Any operator can build a custom UNL instead. The quality of this whole system depends on validator diversity and UNL overlap across independent operators — the subject of the next lesson, and a thread that runs directly into the centralization debate in Module 6.
Worked example
Picture four validators — call them A, B, C, and D — closing a ledger.
Round 1: Each proposes its own candidate transaction set based on what it has seen propagate across the network. A and B have seen transactions 1, 2, and 3. C has seen 1, 2, 3, and 4. D has seen only 1 and 2 (a slightly slower network path).
Round 2: Each validator shares its proposal with the others on its UNL and adjusts: seeing that three of four validators include transaction 3, D adds it. Seeing that only one validator (C) included transaction 4, the others don't yet add it, since it hasn't reached broad support.
Round 3: A, B, C, and D now agree on transactions 1, 2, and 3 — a set with full support across the UNL, well above the 80% supermajority threshold. This becomes the validated ledger. Transaction 4 wasn't dropped — it simply didn't have enough support yet and will very likely be included in the next ledger close, a few seconds later, once it has propagated further.
This illustrates the key behavior: RPCA doesn't need every validator to see every transaction instantly. It needs enough overlap and enough rounds for a supermajority to agree — and it gets there in seconds, repeatedly, every few seconds, indefinitely.
Exercise
Answer true or false for each statement, and correct any false ones in your own words:
- "RPCA requires mining hardware to participate as a validator."
- "A validator finalizes a ledger once 80% of the validators on its own Unique Node List agree on a transaction set."
- "RPCA requires validators to stake capital that can be slashed for dishonest behavior."
Answer key:
- False. RPCA requires no mining hardware; participation requires running the
rippledsoftware reliably and being trusted by other operators, not computational competition. - True. This is the core supermajority mechanism described above.
- False. RPCA has no staking or slashing mechanism. Its safeguard against dishonest validators is architectural — UNL diversity and overlap across independent operators — not an economic penalty.
Recap
- RPCA reaches agreement through iterative rounds of proposal and adjustment among a validator's trusted Unique Node List (UNL), finalizing once 80% of that list agrees — no mining, no staking.
- Its trust assumption is that enough of the validators on a typical UNL are honest and independent, not that dishonesty is economically punished.
- A default, published UNL (such as the one from the XRP Ledger Foundation) lowers the barrier to running a validator, but any operator can choose a different list — a choice with direct consequences, covered in the next lesson.
Resources
- Ripple Protocol Consensus Algorithm (RPCA), XRPL.org — https://xrpl.org/docs/concepts/consensus-protocol
- Original XRP Ledger consensus whitepaper, Schwartz, Youngs, Britto — https://xrpl.org/docs/the-xrp-ledger-consensus-process
- XRP Ledger Foundation default UNL — https://xrplf.org/unl-report.html