-
Notifications
You must be signed in to change notification settings - Fork 105
feat: make SyncNotes return multiple blocks
#1843
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
34 commits
Select commit
Hold shift + click to select a range
051de21
feat: comput emmr proof at chain tip for `sync_notes`
TomasArrachea 6e0dd69
feat: return multiple blocks on `SyncNotes`
TomasArrachea cc7ce76
chore: format
TomasArrachea 4ddb750
feat: update response size constants
TomasArrachea 2d16d93
review: return requested block num in the response if specified
TomasArrachea adbefa6
feat: move sync notes loop to the Store (#1851)
TomasArrachea ff4a02b
Merge branch 'next' into tomasarrachea-sync-notes-rework
bobbinth 736c937
review: fix `SyncNotesResponse` proto field numbering
TomasArrachea 01823ca
Merge branch 'next' into tomasarrachea-sync-notes-rework
TomasArrachea cbb997a
review: remove comment on proto SyncNotesRespose
TomasArrachea 12401ce
review: address small comments
TomasArrachea e8fea10
review: set block_to to chain tip if requested number is beyond the tip
TomasArrachea 727099c
review: return last note update without mmr proof
TomasArrachea 06a85a9
Merge branch 'next' into tomasarrachea-sync-notes-rework
bobbinth b9532b2
Merge branch 'next' into tomasarrachea-sync-notes-rework
bobbinth 0e24e08
review: fix mmr proof comment
TomasArrachea 889fc04
review: error if block_to is greater than chain tip
TomasArrachea 59c4658
review: use block_end + 1 as mmr checkpoint
TomasArrachea 0830662
chore: update proto response comment
TomasArrachea 46495d2
chore: changelog
TomasArrachea 31cdafd
test: mmr proof
TomasArrachea d6e473c
review: return the last checked block
TomasArrachea edb9a6c
chore: lint
TomasArrachea 86505ae
chore: format
TomasArrachea 168ae82
feat: update proto comment
TomasArrachea 41d1036
feat: include chain tip in the response
TomasArrachea 21607ad
feat: use block_num + 1 for sync pagination
TomasArrachea b5debf9
feat: update proto comment
TomasArrachea 49854da
review: update select notes sql comment
TomasArrachea 0601592
review: add comment on MMR proof
TomasArrachea 29fb8a2
review: fix break condition on the stress test
TomasArrachea 6a2088e
chore: typo
TomasArrachea cead199
Merge branch 'next' into tomasarrachea-sync-notes-rework
TomasArrachea ce575ae
review: update store README
TomasArrachea 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
Some comments aren't visible on the classic Files Changed page.
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
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.