-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add get_confirmed_transactions
to storage-bigtable
#25404
Conversation
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I changed code so now transactions will be returned in the order in which they were requested |
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.
I'm much happier with how these various iterators ended up. Thanks for all the polish!
.transactions | ||
.get(index as usize) | ||
.and_then(|tx_with_meta| { | ||
if tx_with_meta.transaction_signature().to_string() != *signature { |
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.
Nit: i's a pity to have to do this additional stringification, when we already have the requested Signature
s. I'm not going to hold this PR up any further on this, but do you have any clever ideas?
Problem
It's possible to get few blocks with
get_confirmed_blocks_with_data
but there is no method for get few transactions.Summary of Changes
Add
LedgerStorage::get_confirmed_transactions
tosolana-storage-bigtable
.