How are bad validators handled on XRPL?
Last updated:
Bad validators on XRPL are handled through a combination of automatic network mechanisms, reputation tracking, community vigilance, and UNL publisher curation. The system gracefully degrades in the presence of misbehaving validators rather than catastrophically failing.
### Automatic Network Mechanisms
Disagreement Detection:
Every XRPL server automatically tracks validator behavior. Specifically, each server calculates a reliability metric: "the percentage of the last 256 ledgers where the validator's validation vote matched the server's view of consensus."
When validators misbehave: - High disagreement rates: Validators voting for ledgers that don't achieve consensus show up with elevated disagreement percentages - Low agreement rates: Validators frequently out of sync with network consensus have reduced agreement scores - Automatic de-prioritization: Validators with poor metrics are naturally ignored in consensus calculations
Negative UNL Mechanism:
The most important automatic mechanism for handling bad validators is the Negative UNL:
"The 'Negative UNL' is a list of trusted validators which are believed to be offline or malfunctioning, as declared by a consensus of the remaining validators."
How it works: 1. Automatic Detection: Validators monitor each other's participation and agreement 2. Collective Decision: When enough validators detect that a specific validator is offline or misbehaving, they collectively add it to the Negative UNL 3. Temporary Exclusion: Validators on the Negative UNL are temporarily ignored for consensus calculations 4. Dynamic Quorum: The network adjusts to require 80% of remaining online validators only 5. Automatic Recovery: When the validator comes back online and behaves correctly, it's automatically removed from the Negative UNL
This mechanism "improves liveness, the network's ability to make forward progress during a partial outage."
Limitations: "The Negative UNL cannot reduce the quorum requirement to less than 60% of the total UNL entries, and a server considers the Negative UNL to be 'full' if the number of validators on the Negative UNL is 25% (rounded down) of the number of validators in the server's configured UNL."
With 35 default UNL validators, a maximum of 8 validators can be on the Negative UNL simultaneously.
### Reputation and Metrics Tracking
Public Validator Registries:
Several public services track validator performance:
- XRPSCAN Validator Registry: Displays agreement rates, disagreement rates, and uptime statistics for all validators - XRP Validator Registry: Community-maintained tracker of validator metrics - XRPL Explorer: Official explorer showing validator performance
These public metrics make bad validators immediately visible to: - Other validator operators - UNL publishers - Community members - Businesses evaluating which validators to trust
Key Performance Indicators:
Validators are judged on: - Agreement: Percentage of consensus ledgers the validator correctly validated - Disagreement: Percentage of validator votes that didn't match consensus - Uptime: Percentage of time the validator is online and participating - Reliability: Rolling 256-ledger window of correct validation behavior
Poor metrics in these areas immediately flag validators as potentially problematic.
### UNL Publisher Curation
Proactive Vetting:
The XRP Ledger Foundation and Ripple (the two default UNL publishers) actively curate their recommended validator lists:
Initial Selection Criteria: - Running a validator with high uptime for at least a year - High agreement with the network (typically 95%+) - Domain verification and public identity - Being a separate entity (not affiliated with existing UNL validators) - Geographic and infrastructure diversity
Validators must meet these standards before being added to the default UNL.
Ongoing Monitoring:
UNL publishers continuously monitor: - Validator uptime and reliability metrics - Agreement rates with network consensus - Any changes in validator operation or ownership - Community feedback about validator behavior
Removal Process:
When validators perform poorly: 1. Warning: UNL publishers may contact operators about reliability issues 2. Probation: Validators may be given time to address problems 3. Removal: Persistent poor performance leads to removal from the default UNL 4. Public Communication: Major UNL changes are typically announced to the community
### Community Vigilance
Decentralized Monitoring:
Beyond automated metrics, the XRPL community plays a role:
- Validator Operators: Monitor their own validators and observe peer behavior - Blockchain Explorers: Provide public dashboards showing validator performance - Community Forums: Discuss validator behavior and anomalies - Security Researchers: Investigate potential consensus issues
Social Reputation:
Because validators on the default UNL must have public identities: - Poor behavior damages organizational reputation - Community discussion creates social accountability - Validators have strong incentives to maintain good standing
### Custom UNL Flexibility
Individual Operator Control:
Any rippled operator can: - Create custom UNLs with validators they specifically trust - Remove validators they consider unreliable - Add validators not on default UNLs - Configure multiple UNL sources
This decentralization of trust means: - No single entity controls which validators are trusted - Bad validators can be immediately excluded by individual operators - Network consensus doesn't depend on any single UNL publisher
### Types of "Bad" Behavior and Responses
1. Temporary Unavailability (Downtime):
Behavior: Validator goes offline for minutes or hours
Automatic Response: - Added to Negative UNL by other validators - Temporarily excluded from consensus calculations - Network continues with remaining validators
Long-term Consequences: - Uptime metrics decline - May face UNL removal if frequent or extended - Removed from Negative UNL when back online
2. Consistent Low Reliability:
Behavior: Validator frequently offline or missing consensus rounds
Automatic Response: - Low reliability scores visible in public metrics - Other validators may configure custom UNLs excluding this validator
Long-term Consequences: - Warning from UNL publishers - Removal from default UNL - Loss of governance voting rights
3. High Disagreement (Wrong Validations):
Behavior: Validator votes for ledgers that don't achieve consensus
Automatic Response: - Disagreement metrics increase - Validation votes ignored (don't contribute to 80% threshold)
Long-term Consequences: - Investigation by operators and community - Likely removal from UNLs - May indicate misconfiguration, bugs, or malicious intent
4. Malicious Behavior (Intentional Attacks):
Behavior: Validator attempts to validate invalid transactions or disrupt consensus
Automatic Response: - Other validators don't reach 80% agreement with malicious proposals - Invalid transactions are not confirmed - Malicious validator's votes don't influence consensus (needs 80% cooperation)
Long-term Consequences: - Immediate removal from all UNLs - Public disclosure of malicious behavior - Permanent reputation damage
5. Software Bugs or Misconfiguration:
Behavior: Validator misbehaves due to technical issues, not malice
Automatic Response: - Same as malicious behavior (protocol can't distinguish intent) - Disagreement metrics increase
Long-term Consequences: - Operator investigates and fixes issues - May be temporarily removed from UNLs - Can rebuild reputation after demonstrating correct behavior
### Network Resilience
Graceful Degradation:
XRPL is designed to degrade gracefully rather than fail catastrophically:
20% Tolerance: "Consensus can continue without problems as long as only a small percentage (less than about 20%) of trusted validators are misbehaving at a given time."
With 35 default UNL validators: - Up to 7 validators can misbehave without preventing consensus - The Negative UNL allows the network to adjust dynamically - Remaining validators continue operating normally
No Single Point of Failure: - No individual validator is essential - Geographic and organizational diversity prevents correlated failures - Multiple UNL publishers prevent censorship
### Historical Handling of Validator Issues
UNL Evolution:
Over XRPL's history: - Validators have been added as they proved reliability - Validators have been removed for poor performance - The default UNL has grown from ~10-15 to 35+ validators - Ripple's share has decreased from majority to just 1 validator
This evolution demonstrates that the curation process works—validators are evaluated on merit and performance.
No Major Incidents:
XRPL has operated for over a decade without: - Successful malicious validator attacks - Consensus failures due to bad validators - Double-spending or invalid transaction confirmation
This track record validates the effectiveness of the handling mechanisms.
### Comparison to Other Blockchains
Ethereum (Proof-of-Stake): - Handling: Automatic slashing (financial penalties) for misbehavior - Severity: Validators lose staked ETH for downtime or protocol violations - XRPL Difference: Reputation-based rather than financial penalties
Cosmos/Polkadot: - Handling: Slashing, jailing (temporary exclusion), and tombstoning (permanent ban) - Financial: Loss of staked tokens - XRPL Difference: Similar exclusion concept (Negative UNL) without financial stakes
Bitcoin: - Handling: Miners producing invalid blocks are simply ignored; no reputation system - Economic: Wasted computational resources - XRPL Difference: More sophisticated reputation tracking and social accountability
Solana: - Handling: Reduced delegation rewards for poor performance - Economic: Indirect penalties through lost delegation - XRPL Difference: No rewards means no economic penalties; purely reputation-based
### Preventing Bad Validators
Proactive Measures:
The XRPL ecosystem prevents bad validators through:
1. High Entry Standards: Requiring one year of proven reliability before UNL inclusion 2. Identity Verification: Domain verification and public entity identification 3. Diverse Operators: Ensuring validators represent different organizations and geographies 4. No Financial Incentives: Eliminating profit motives that might encourage gaming the system 5. Transparency: Public metrics make poor performance immediately visible
### Practical Implications
For Validator Operators: - Maintain high reliability and agreement rates - Monitor your own performance continuously - Respond quickly to any issues - Expect removal from UNLs if performance degrades
For Network Users: - Trust that bad validators are handled automatically and socially - Network continues operating even with some bad validators - Over a decade of secure operation demonstrates robustness
For Businesses: - Evaluate validator performance through public metrics - Can run custom UNLs excluding validators you don't trust - Network resilience protects your operations from individual validator failures
### The Bottom Line
XRPL handles bad validators through:
✅ Automatic Negative UNL temporarily excluding offline/misbehaving validators ✅ Public reputation metrics making poor performance immediately visible ✅ UNL publisher curation removing persistently poor performers ✅ Byzantine fault tolerance continuing consensus with up to 20% bad validators ✅ Community vigilance providing social accountability ✅ Custom UNL flexibility allowing individual operators to exclude bad validators ✅ Graceful degradation maintaining network operation despite failures
The multi-layered approach combines automatic protocol mechanisms, social reputation, and human curation to effectively handle bad validators without catastrophic network failures. This has proven successful over XRPL's decade-plus operational history.
Last updated: February 2026