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

Add gossip notifications / cluster node notifications to geyser #32934

Open
linuskendall opened this issue Aug 22, 2023 · 4 comments
Open

Add gossip notifications / cluster node notifications to geyser #32934

linuskendall opened this issue Aug 22, 2023 · 4 comments
Labels
community Community contribution

Comments

@linuskendall
Copy link

Problem

To avoid having lite clients like (https://github.com/blockworks-foundation/lite-rpc) participate in gossip and causing further # of gossip clients increasing we would like to be able to get notifications via geyer on gossip data / gossip updates.

This would be required to replace the getClusterNodes RPC call.

Proposed Solution

Add a geyser notification for gossip update notifications.

@linuskendall linuskendall added the community Community contribution label Aug 22, 2023
@buffalu
Copy link
Contributor

buffalu commented Aug 26, 2023

+1

do you need raw gossip stream, what's inserted into table, or just access to the data structures for gossip?

@lijunwangs
Copy link
Contributor

Can you elaborate on the requirements of "gossip data" and "gossip updates"?

@godmodegalactus
Copy link
Contributor

We just need node information for all the nodes in the cluster especially those who will produce blocks during an epoch. Same as information we get by using the method 'getClusterNodes' on Solana Json rpc. We would also like to know epoch stakes for each validator but that is optional. Epoch stakes will be used to recalculate the leader schedule.

@musitdev
Copy link

musitdev commented Jan 2, 2024

I've created a POC to test the cluster node notification with geyzer in this PR #34618.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution
Projects
None yet
Development

No branches or pull requests

5 participants