-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
✨ 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
Metadata
Metadata
Assignees
Labels
No labels