Skip to content

Accounts db#416

Draft
ghost wants to merge 11 commits into2_0_16from
accounts-db
Draft

Accounts db#416
ghost wants to merge 11 commits into2_0_16from
accounts-db

Conversation

@ghost
Copy link

@ghost ghost commented Nov 29, 2024

Requires 2_0_16 to be landed first

@ghost ghost requested a review from grooviegermanikus November 29, 2024 06:58
@ghost ghost force-pushed the 2_0_16 branch 6 times, most recently from c60f0b4 to 23ba2a0 Compare December 9, 2024 03:40
@grooviegermanikus
Copy link
Collaborator

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 {
Copy link
Collaborator

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> {
Copy link
Collaborator

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

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.

1 participant