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

Feat: New database collections #21

Open
Errorist79 opened this issue Jan 10, 2023 · 0 comments
Open

Feat: New database collections #21

Errorist79 opened this issue Jan 10, 2023 · 0 comments
Assignees

Comments

@Errorist79
Copy link
Member

Database'de tutmamızın daha doğru olacağını düşündüğüm bazı veriler var. yenileri aklıma geldikçe burayı güncelleyeceğim.
Örnek olarak,

validatorlerin delegatorleri: https://github.com/testnetrunn/explorer-backend/blob/3b31ec7540d13a30486b779c5d37b97ff991c1e7/src/fetch/validators.rs#L38

Bunlar için ayrı cronlar çalıştırabiliriz, ve periyodik olarak database'i güncelleyebiliriz.

Düşündüğüm diğer veriler:

Validator undelegations: https://github.com/testnetrunn/explorer-backend/blob/3b31ec7540d13a30486b779c5d37b97ff991c1e7/src/fetch/validators.rs#L75

Validator redelegations:
https://github.com/testnetrunn/explorer-backend/blob/3b31ec7540d13a30486b779c5d37b97ff991c1e7/src/fetch/validators.rs#L116

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

2 participants