Skip to content

Commit bb6669d

Browse files
authored
Merge pull request #347 from lavanet/update-v5
Update docs with info about Reputation
2 parents a9078af + c74b0c6 commit bb6669d

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

docs/intro/key-terms.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ title: 📝 Key Terms
5353
## 📊 Quality of Service (QoS)
5454

5555
<details>
56-
<summary>Excellence QoS</summary>
56+
<summary>Reputation Score</summary>
5757
A set of metrics designed to ensure a high Quality of Service (QoS) for consumers, enabling monitoring and customization of provider performance.
5858
</details>
5959

docs/provider/provider-rewards-service.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@ import TabItem from '@theme/TabItem';
1212

1313
After staking on chain, providers serve consumers and get cryptographic proofs of relay service. These proofs are submitted on chain to accumulate CUs that lead to token rewards. The calculation for provider rewards is complex and contingent on the validity of submitted proofs. However, given valid proofs, rewards are mostly affected by 3 factors:
1414
- ☑️ **Passable Quality of Service** - The individual score of a relay session. Passable QoS directly alters rewards in a given session.
15-
-**Quality of Service Excellence** - The reputational score of a provider. QoS Excellence affects provider selection both within a pairing and in the pairing probabilities.
15+
-**Reputation Score** - The reputational score of a provider. Reputation Score affects provider selection both within a pairing and in the pairing probabilities.
1616
- 🚨 **Jail** - The disabling mechanism for inferior/defunct providers. Jailing prevents a provider from giving service for a period of time.
1717

1818
<br/>
1919

20+
## Reputation
21+
The Lava Network places a strong emphasis on delivering exceptional Quality of Service (QoS) to its consumers. To ensure this, consumers actively participate in monitoring and customizing their QoS excellence metrics. They gauge provider performance by measuring latency in provider responses relative to a benchmark, assessing data freshness in comparison to the fastest provider, and evaluating the percentage of error or timeout responses in the availability metric. These scores are diligently recorded and sent on-chain alongside the relay proofs of service, creating a transparent and accountable system. The provider's performance metric is called "Reputation". Higher reputation indicates higher QoS scores.
22+
23+
To further enhance the integrity of the QoS scores, updates are aggregated across all consumers in a manner that safeguards against false reports. Negative reports are weighted by usage, meaning that a consumer must actively use and pay a provider to diminish their QoS score. This mechanism discourages users from artificially lowering a provider's score.
24+
25+
The Reputation metric only affect pairings and is aggregated over time with a decay function that favors the latest data, meaning providers can improve, and those providers that their service fails will be impacted to affect fewer users. This approach ensures that the reputation system remains dynamic and responsive, benefiting providers striving to enhance their services while minimizing the impact of service failures on a broader scale.
26+
2027
## 📊 Passable QoS {#passable-qos}
2128
Passable Quality of Service is scored separately in each relay session. Lower scores mean lower rewards. Up to half the accumulated CU can be reduced for bad service. Passable QoS metrics can be viewed both in the [Lava Info explorer](https://info.lavanet.xyz/?utm_source=provider-rewards&utm_medium=docs&utm_campaign=docs-to-info) and [Prometheus metrics](/provider-features#config-prometheus).
2229

@@ -125,13 +132,13 @@ lavap test events 2000 --event lava_provider_latest_block_report --node {PUBLIC_
125132

126133
<br />
127134

128-
## 📊 QoS Excellence {#qos-excellence}
135+
## 📊 Reputation Score {#reputation-score}
129136

130-
QoS Excellence is calculated very similarly to Passable QoS. QoS Excellence provides a range of scores that are time-weighted to take the latest information
131-
all the actions mentioned here to improve passable QoS affect excellence
137+
Reputation Socre is calculated very similarly to Passable QoS. QoS Excellence provides a range of scores that are time-weighted to take the latest information
138+
all the actions mentioned here to improve passable QoS affect Reputation
132139

133140
### Metrics 📈
134-
Excellence Quality of score divides into 3 metrics:
141+
Reputation score divides into 3 metrics:
135142
* Availability - score in the range `0-1`
136143
* Sync/ Freshness of data - how much time behind other providers are we, lower is better, `0` means your sync is the best in the pairing
137144
* Latency - how many benchmark ticks passed during a relay in average (time taken / benchmark time). lower is better

0 commit comments

Comments
 (0)