Implement EmIP6 - Reputation endpoint #1329
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The reputation endpoint is meant to be a way for users to pick curators for extra metadata about pools such as location, trustworthiness, etc.
For the first version in Yoroi, we don't have any curators (or the ability to add more) and instead start by just forwarding to Yoroi information about pool behavior based on on-chain data.
If our node detects issues with a pool, we now show a red warning next to the pool name
We use a bitset to indicate possible issues
Ex: 1 issue detected
Ex: multiple issues detected
If an issue is forwarded from our node but Yoroi doesn't know what it is (due to version mismatch) we just show a generic error