Weighted Trust for UNL Nodes #305
Replies: 5 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Can you describe how this plays on reserve and fee voting too? I'd have assumed to see that different trust levels open up different weighted access for things to vote on. E.g amendment voting only for highest tier and perhaps base fee medium tier etc. |
Beta Was this translation helpful? Give feedback.
-
|
I have changed this to a pre-proposal since it seems to still be in an early stage and doesn't have the level of detail on the consensus/implementation side needed for a full proposal. |
Beta Was this translation helpful? Give feedback.
-
|
can we get an explanation of how sybil attacks are addressed via this proposal, would like to understand that more here.
was briefly touched here |
Beta Was this translation helpful? Give feedback.
-
|
Weight scheduling? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Weighted Trust for UNL Nodes
Abstract
This proposal introduces a trust weighting system for validator nodes in the Unique Node List (UNL), allowing each node to be assigned a trust weight instead of the current binary 0 or 1 model. This system supports weights from 0.0 to 2.0 (or higher), enabling both gradual trust building for new validators and enhanced trust for long-established, highly reliable nodes. This aims to enhance flexibility in consensus trust modeling, facilitate smoother validator onboarding, and better reflect real-world dynamics of node trustworthiness.
Motivation
In the current XRPL consensus model, the UNL acts as a binary trust system: a validator is either trusted (weight = 1) or not trusted (weight = 0). While this model is simple and robust, it lacks the granularity needed for:
Notably, the upcoming Cobalt consensus implementation already considers weighted trust in its design. This proposal aligns the current model with that future direction, ensuring forward compatibility and easing migration.
Specification
Trust Weight Definition
Each validator in the UNL will be associated with a trust weight, a floating-point value representing the degree of trust attributed to that node. While the standard range is 0.0 to 2.0, the system can accommodate higher values if needed.
0.00.1-0.91.01.1-2.0> 2.0Enhanced Trust Rationale
Weights above 1.0 are justified for validators that:
Backward Compatibility
1.0(standard trust)Consensus Integration
Consensus decisions will factor in trust weight by modifying how vote counts are aggregated:
total_weighted_votes = Σ(validator_vote × trust_weight)Example Use Cases
0.251.0(gradual increase)1.01.01.01.5-2.01.02.01.01.51.00.5Rationale
While the UNL system is already, philosophically, a weighted trust mechanism (presence = 1, absence = 0), this proposal generalizes that idea and opens the door to smoother validator management with enhanced granularity.
Benefits:
Trust Building Process:
A validator's weight can evolve over time:
0.25 → 0.5 → 0.75 → 1.0 → 1.25 → 1.5 → 2.0Drawbacks
Risk Mitigation
Centralization Concerns
Governance Framework
Prior Art
Future Work
Context and Acknowledgments
This XLS proposal was conceived and developed during the Core Dev Bootcamp held in July 2025 in Paris, organized by the XRPL Commons Foundation. The collaborative environment and intensive hands-on training provided the perfect setting for exploring advanced consensus mechanisms and protocol improvements.
The idea matured through discussions with fellow developers and instructors, particularly benefiting from the deep technical expertise and guidance available during the bootcamp. The structured learning environment, which covered everything from blockchain fundamentals to advanced rippled architecture, provided the necessary foundation for understanding the complexities of weighted trust systems.
Acknowledgments
I would like to express my gratitude to:
Beta Was this translation helpful? Give feedback.
All reactions