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

✨ Check data request tally if public key was used #7

Open
FranklinWaller opened this issue Aug 22, 2024 · 0 comments
Open

✨ Check data request tally if public key was used #7

FranklinWaller opened this issue Aug 22, 2024 · 0 comments

Comments

@FranklinWaller
Copy link
Member

FranklinWaller commented Aug 22, 2024

✨ Feature

Check every x amount of time the chain if the data request id included your public key in the final tally.

Motivation

Otherwise the API was accessed without being truly eligible (Overlay nodes can lie and just access the API).

Implementation

  • Create a SQLite DB (Through Drizzle)
  • Keep track of who called the API (public key) with the data request id
  • After x amount of time (can be an hour, doesn't have to be often) check if the data request id used the data proxy public key. If not give the program a strike. After x (configured) strikes the node should ban the data request program (depending if the overlay node was often dishonest or the program was often dishonest). And return an error response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant