> For the complete documentation index, see [llms.txt](https://cvnnt.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cvnnt.gitbook.io/documentation/system-architecture/governance/system-nodes/p2p-node-reputation-rating-system.md).

# P2P node reputation rating system

{% hint style="info" %}
Note: This chapter is currently under development.
{% endhint %}

Each Covenant node by design participates in a decentralized p2p node reputation rating process during their communication with other nodes, and thus has its reputation rate. For basic nodes reputation rate parameter might not be quite important, however, basic nodes contribute to fair reputation rate of master nodes, thereby contributing to the overall system' security and integrity.&#x20;

To provide deterministic, secure and robust mechanics in a dynamic distributed environment, Covenant system utilizes a secure, tamper-proof, decentralized peer-to-peer (P2P) node reputation system powered by the EigenTrust++ algorithm – an advanced, attack-resilient evolution of the the original EigenTrust, a well-established distributed trust management algorithm for distributed systems.

### Quick overview of EigenTrust++

EigenTrust++ operates on peer-to-peer rating mechanics, where nodes rate each other after every interaction, and local ratings are aggregated to compute global reputation scores that are tamper-proof and highly expensive to fake.&#x20;

EigenTrust++ builds on original eigenvector-based transitive trust propagation while introduces several key improvements over the classic EigenTrust, enhancing security, reliability, and robustness against attacks in decentralized systems. Specifically, EigenTrust++ delivering significant improvements in:

* Resilience to dishonest feedback and collusion attacks
* Robustness in sparse or adversarial network conditions
* Overall reliability for decentralized rating aggregation

### Key advantages of node reputation in the Covenant system

High reputation is fully permissionless and merit-based, no central authority grants access. Any node can earn high reputation rate through:

* Consistent honest behavior over extended periods
* Broad, genuine interconnections with other nodes

Node reputation in Covenant is:

* **Self-determined impossible, Tamper-resistant** – A node cannot inflate its own score, thus node's reputation cannot be directly manipulated by the node itself. Instead, it is determined collectively by ratings from other peers across the system a node’s rate is evaluated by other nodes while the node itself can only ask other nodes of their reputation scores about it. A node can only influence its score indirectly by earning positive ratings through honest actions as node' reputation rate depends entirely on other peers' evaluations. &#x20;
* **Collusion-resistant** - Requires coordinated positive ratings from a large, diverse set of nodes, making attacks economically prohibitive. Acquiring a high reputation through node collusion (e.g., fake mutual ratings) is difficult and costly. It requires a large number of independent nodes to provide positive ratings, making coordinated attacks expensive and programmably detectable.
* **Sybil-resistant** – Strongly deters malicious actors from flooding the system with "fake" nodes as sufficient reputation rating can be earned over time, not bought, so creating fake nodes requires sufficient resources.

### Reputation rate role in Covenant system

A sufficient reputation threshold along with amount of validation stake and high node performance score (both reputation rate and stake are subject to slashing) is required for nodes to qualify as master nodes and participate in the system distributed validation and verification processes – ensuring only proven, reliable participants influence protocol decisions.

The reputation rate system serves several critical functions and delivers multiple system-level benefits:

* Facilitates fair, efficient node interactions and rapid, trustworthy syncing process for new nodes.
* Provides robust defense against Sybil attacks, where malicious actor spawns a large number of new nodes in the system to influence or overtake the distributed decision power.
* Increases the likelihood that governance participants are honest and aligned with the overall system's best interest.&#x20;
* Reputation rate allows to improve Covenant' decentralization by balancing the possibility of "whales collusion" scenario.&#x20;

### Accountability via Slashing

Master node general system task is to be honest in their governance decisions, and reputation rate reflects this node quality in a fair, decentralized manner. For a master node sufficient reputation rate is one of necessary requirements. Covenant utilizes master node reputation rate parameter along with sufficient governance stake amount to balance system openness with high responsibility of validation processes participants.&#x20;

Reputation is dynamic and enforceable – scores (along with governance stake amount) are subject to slashing upon proven misbehavior, creating strong economic incentives for integrity and deterring malice.

This EigenTrust++-powered reputation layer forms a cornerstone of Covenant system secure, decentralized system validation & verification model – combining open access with battle-tested attack resistance to foster a trustworthy, high-integrity dynamically-deterministic distributed environment.
