-
Notifications
You must be signed in to change notification settings - Fork 61
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 db #416
base: 2_0_16
Are you sure you want to change the base?
Accounts db #416
Conversation
c60f0b4
to
23ba2a0
Compare
how is this related to Pratiks crate solana-lite-account-manager ? |
|
||
#[async_trait] | ||
impl AccountStorageInterface for AccountsDb { | ||
async fn update_account(&self, account_data: AccountData, _commitment: Commitment) -> bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: we actually do not want to have and support commitments other than PROCESSED as this will push complexity of buffering and slot commitment handling to yellowstone-grpc
} | ||
} | ||
|
||
async fn process_slot_data(&self, slot: Slot, commitment: Commitment) -> Vec<AccountData> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pratik promised to do a proper tested implementation in solana-lite-account-manager
Requires 2_0_16 to be landed first