Repository navigation
store/LedgerReaderTx: replace per-ledger reads on LedgerReader and LedgerReaderTx with ScanLedgers iterator #1005
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
a553cbb
modify LedgerReaderTx interface
cjonas9 4d68f49
use ScanLedger in getLedgers handler
cjonas9 fef2f96
update transactions handler
cjonas9 9acacd4
add ScanLedgers to sqlitedb.LedgerReaderTx
cjonas9 80bdd6c
update tests to use new functionality
cjonas9 abea71f
minor style adjustments to remove nolint/improve readability
cjonas9 c6bef15
migrate v2 adapter ledgerReaderTx
cjonas9 2132df4
make LedgerReader congruent with the Tx: ScanLedgers on both, point r…
cjonas9 956a481
recover the ledger reads benchmark and the rpcv2test helpers it needs
cjonas9 0b68dc1
simplification: add/use ScanLedgersFrom function as shared helper
cjonas9 2327219
make the getEvents differential's reference read ledgers through Scan…
cjonas9 f3aaa0f
bug fix: put length check after err check
cjonas9 0e0bcfc
fix ScanLedgersFrom uint32 wrapping risk
cjonas9 2ba1ca9
add test for store ledger.go
cjonas9 93326c0
patch hot backend perf regression
cjonas9 5bd8e25
tangential optimization: get rid of double copying of bytes out of C …
cjonas9 6708e97
revise ScanLedgers comment
cjonas9 e76193a
minor code review changes, latent hardening
cjonas9 be192c5
simplification pass
cjonas9 7ff0fd8
drop streamLedgerRange from interface
cjonas9 686ea4a
fix fix RawBytes loan comment + add ScanLedgers comment
cjonas9 10ce359
clamp scanView to the window once and drop inWindow
cjonas9 f8eccda
drop the getLedgers page clone, perf benefit was not reproducible
cjonas9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.