This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
RPC program account subscription notifications are unreliable #9909
Labels
Milestone
Comments
leoluk
pushed a commit
to wormhole-foundation/wormhole
that referenced
this issue
Jan 21, 2021
This mitigates solana-labs/solana#9909 by polling GetProgramAccounts with a server-side filter. It also removes the agent dependency for the lockup observation logic - the agent is now used for transaction construction only.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale issue has been automatically closed. Thank you for your contributions. |
I believe this was fixed in #18827 |
This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem
Program account notifications are lossy and inconsistent because subscriptions specify a specific confirmation level and will only be notified when the RPC pubsub service observes a slot at that confirmation level where the account has been modified.
This is lossy for a number of reasons: async races, votes that include more than one block, slow consensus / network partitions.
Proposed Changes
TBD
Related to: #9833
The text was updated successfully, but these errors were encountered: