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

Atomic Slasher #121

Open
3 tasks
Lazar955 opened this issue Nov 28, 2024 · 1 comment
Open
3 tasks

Atomic Slasher #121

Lazar955 opened this issue Nov 28, 2024 · 1 comment

Comments

@Lazar955
Copy link
Member

  • Metric is increased, but never decreased once we remove a delegation.
  • HandleAllBTCDelegations we fetch all delegations, but we should only fetch by status: [BTCDelegationStatus_PENDING, BTCDelegationStatus_VERIFIED, BTCDelegationStatus_ACTIVE]
  • BTCDelegationIndex grows over time, basically, we only remove from this if there is slashing happening. Should we periodically check this cache and remove delegations that are no longer relevant?
@Lazar955
Copy link
Member Author

@KonradStaniec let's discuss these points here

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