api3dao / airseeker

A service powering the dAPIs
MIT License
2 stars 5 forks source link

Verify signed data using worker thread #291

Closed Siegrift closed 4 months ago

Siegrift commented 4 months ago

Closes https://github.com/api3dao/airseeker-v2/issues/282

Rationale

Apply the same fix as we did for Signed APIs. This has proven to be enough. Another optimization on top of this is to validate only the signed data for active beacons (aka - beacons of active feeds). I needed to refactor the code a bit to accommodate for the changes.

Siegrift commented 4 months ago

I'm going to implement the config Signed API whitelisting separately. See: https://github.com/api3dao/airseeker-v2/issues/300