Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relay: manage client/dapp reputation #76

Closed
drortirosh opened this issue Mar 24, 2019 · 1 comment
Closed

Relay: manage client/dapp reputation #76

drortirosh opened this issue Mar 24, 2019 · 1 comment
Labels
relay Relay server (golang)
Milestone

Comments

@drortirosh
Copy link
Member

drortirosh commented Mar 24, 2019

The relay should maintain a list of rejected calls (that is, relayed calls in which accept_relayed_call returned "true" when called off-chain, but returned an error on-chain, and thus caused the relay to pay for the transactions)
The relay should not completely reject such dApps, since there are edge-cases that might cause such cases.
It should give it some weight, so that a dApp that does it repeatedly will stop getting service.

Implementation depends on #94

@drortirosh drortirosh added relay Relay server (golang) MVP labels Mar 24, 2019
@drortirosh
Copy link
Member Author

  • Periodically, scan for past TransactionFailed (failed transactions, that caused the relay to pay)
  • For each such target contract, check how many valid TransactionRelayed events
  • The logic is: The ratio of good/failed should be above a given factor.

@drortirosh drortirosh reopened this Apr 14, 2019
@drortirosh drortirosh added this to the MVP milestone Apr 14, 2019
@drortirosh drortirosh removed the MVP label Apr 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relay Relay server (golang)
Projects
None yet
Development

No branches or pull requests

1 participant