Skip to content

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

@FranklinWaller

Description

@FranklinWaller

✨ 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions