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

[r2r] IndexedDB Cursor Iterator #1678

Merged
merged 7 commits into from
Mar 7, 2023

Conversation

sergeyboyko0791
Copy link

@sergeyboyko0791 sergeyboyko0791 commented Feb 24, 2023

Fixes #1643

  • Refactor IndexedDB Cursor so it can be used to iterate over the items step-by-step.
  • Fix and optimize IDBBlockHeadersStorage

* Add `CursorIter::next`
* Add `IdbEmptyCursor`
* Make `height: BeBigUint` instead of `u64`
* Fix `BlockHeaderStorageTable::TICKER_HEIGHT_INDEX` index
borngraced
borngraced previously approved these changes Feb 28, 2023
Copy link
Member

@borngraced borngraced left a comment

Choose a reason for hiding this comment

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

great work and very clear to me! thanks

shamardy
shamardy previously approved these changes Feb 28, 2023
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Great enhancement! Only non-blockers

@sergeyboyko0791 sergeyboyko0791 dismissed stale reviews from shamardy and borngraced via d8bc96c March 2, 2023 11:15
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Re-approve

@shamardy shamardy merged commit 211492e into KomodoPlatform:dev Mar 7, 2023
@ca333 ca333 mentioned this pull request Mar 27, 2023
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.

3 participants