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

Stakes and votes getvoteaccounts #244

Merged
merged 33 commits into from
Jan 4, 2024

Conversation

musitdev
Copy link
Contributor

Implementation of :

  • getVoteAccounts.
  • getSlotLeaders: search in the 2 cached current epochs.

These call has been tested in local using some stress rpc call.

They need to be tested by comparing the result with a real validator to validate that the values are correct.

@musitdev musitdev force-pushed the stakes_and_votes_getvoteaccounts branch from d5dec2f to dbc152b Compare January 3, 2024 15:51
@godmodegalactus godmodegalactus changed the base branch from stakes_and_votes_bootstrap to main January 4, 2024 09:07
cluster-endpoints/src/rpc_polling/poll_slots.rs Outdated Show resolved Hide resolved
config.example.json Outdated Show resolved Hide resolved
core/src/structures/leaderschedule.rs Outdated Show resolved Hide resolved
lite-rpc/src/lib.rs Show resolved Hide resolved
InitBootstrap
|
|Fetch accounts|

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you create these trees ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use pipe key (Alt Gr 6) on french keyboard.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though you use some library and not make it by hand.

stake_vote/src/lib.rs Outdated Show resolved Hide resolved
stake_vote/src/lib.rs Outdated Show resolved Hide resolved
@godmodegalactus godmodegalactus merged commit 7f3a025 into main Jan 4, 2024
3 checks passed
@godmodegalactus godmodegalactus deleted the stakes_and_votes_getvoteaccounts branch January 25, 2024 15:21
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.

None yet

4 participants