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

Accounts support #327

Merged
merged 12 commits into from
Feb 14, 2024
Merged

Accounts support #327

merged 12 commits into from
Feb 14, 2024

Conversation

godmodegalactus
Copy link
Collaborator

No description provided.

broadcast::channel::<AccountNotificationMessage>(128);

let jh: AnyhowJoinHandle = tokio::spawn(async move {
loop {
Copy link
Collaborator

Choose a reason for hiding this comment

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

reconnect loops should always be throttled to prevent overloading the system with crash-loop

})
}

pub fn create_grpc_account_streaming(
Copy link
Collaborator

Choose a reason for hiding this comment

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

pls comment somewhere how much RAM an "account" item requires

match update {
UpdateOneof::Account(account) => {
if let Some(account_data) = account.account {
let account_pk_bytes: [u8; 32] = account_data
Copy link
Collaborator

Choose a reason for hiding this comment

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

consider different abbreviation for pubkey in account_pk; maybe account_key or account_pubkey

@godmodegalactus godmodegalactus merged commit bcc3c37 into main Feb 14, 2024
3 checks passed
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.

2 participants