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

Only store signed data for active dapis #92

Closed
wants to merge 4 commits into from

Conversation

aquarat
Copy link
Collaborator

@aquarat aquarat commented Nov 13, 2023

Closes #79

This PR filters incoming signed data to only store signed data for active beacons.
This PR also purges data in the signed data store for which there are no active dApis.

I'm not sure if putting getBeaconsForActiveDapis in State is a good idea 🤷

@aquarat aquarat requested review from Siegrift and vponline November 13, 2023 16:04
@aquarat aquarat self-assigned this Nov 13, 2023
@aquarat aquarat changed the base branch from main to make-airseeker-run-locally November 13, 2023 16:04
@aquarat aquarat marked this pull request as ready for review November 13, 2023 16:15
@aquarat aquarat changed the title Only store signed data for active dApis Only store signed data for active dapis Nov 13, 2023
@Siegrift Siegrift force-pushed the make-airseeker-run-locally branch 2 times, most recently from 34b7f76 to a7c1141 Compare November 14, 2023 10:58
Base automatically changed from make-airseeker-run-locally to main November 14, 2023 11:07
@Siegrift Siegrift removed their request for review November 15, 2023 13:41
@Siegrift
Copy link
Collaborator

I've unassigned myself from reviewer list. Per the discussion on the call the implementtion needs to change to time based cleanup after 1d.

Feel free to request review again when it's fixed.

@aquarat aquarat mentioned this pull request Nov 16, 2023
@aquarat
Copy link
Collaborator Author

aquarat commented Nov 16, 2023

Closing as replaced by #100 (due to a combination of conflicts and change in strategy)

@aquarat aquarat closed this Nov 16, 2023
@Siegrift Siegrift deleted the 79-only-retain-live-dapi-signed-data branch November 22, 2023 17:31
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

Successfully merging this pull request may close these issues.

Only store fresh signed data
2 participants