-
Notifications
You must be signed in to change notification settings - Fork 14
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
Solana: port websocket api from web3.js #41
Comments
@mschneider willing to work on this issue. |
alright! please make sure you check the progress on issue #9 the connected PR is still unmerged |
Hey, |
use account subscriber and focus on issue 41 mango v3 functionality is not important at this point |
Alright I will. |
Hey,
In the write thread :
In the read thread,
I am also attaching a diagram explaining the same workflow. The advantage I see of this implementation is that we are limiting everything to two threads and to do more subscription only the subscriptions are required to be pushed to the pendingSubscription map. |
For a review of an architecture proposal it's easier to look at the interfaces / declaration, rather than the control flow logic. Header file and some pseudo code for tests to see the API in use would be perfect. @aniketfuryrocks please focus on rust, @OmkarAcharekar should help with review from your end. |
Yes I agree with @mschneider, Could you please create a PR to understand your progress on this subject. |
onAccountChange
onLogs
onProgramAccountChange
onRootChange
onSignature
onSignatureWithOptions
onSlotChange
onSlotUpdate
removeAccountChangeListener
removeOnLogsListener
removeProgramAccountChangeListener
removeRootChangeListener
removeSignatureListener
removeSlotChangeListener
removeSlotUpdateListener
The text was updated successfully, but these errors were encountered: