-
Notifications
You must be signed in to change notification settings - Fork 128
refactor(rust-client): make NTL and chain syncing concurrent #2453
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
Open
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
7559170
refactor(rust-client): split both syncs into fetch and apply phases
ricomateo db355b2
refactor(rust-client): keep flush_relay_outbox as a single function
ricomateo b12aff4
refactor(rust-client): group the expected-note import fns in one impl…
ricomateo 1fca608
refactor(rust-client): make ChainSyncData plain data and move its met…
ricomateo ce332b8
refactor(rust-client): store note blocks as they are fetched
ricomateo 0ff8e1a
refactor(rust-client): rename the expected-note update types and fields
ricomateo 8e886b0
refactor(rust-client): carry a single merged ExpectedNoteUpdates per …
ricomateo 393f6b2
refactor(rust-client): cache and prune inside apply_chain_updates
ricomateo 7888dcf
refactor(rust-client): fetch note blocks in the fetch phase, store th…
ricomateo 47c4bd5
docs(rust-client): correct and trim the sync phase doc comments
ricomateo 692f01b
fix(rust-client): screen the chain sync's notes after the transport w…
ricomateo 1c6d625
fix(rust-client): check delivered notes for spends below the sync height
ricomateo ddd92d9
chore: update changelog
ricomateo a072502
refactor(rust-client): name the sync data types and bindings after wh…
ricomateo f6642f3
refactor(rust-client): name the transport fetch fns after what they r…
ricomateo f1d251c
refactor(rust-client): pair the transport fetch and apply fns by the …
ricomateo 2669f29
chore: simplify doc comments
ricomateo c79d60a
chore: improve doc comments
ricomateo 4cb2afa
refactor(rust-client): key the awaiting-block notes on their record s…
ricomateo f442817
docs(rust-client): correct the note import docs for the single note list
ricomateo 603e7c7
refactor(rust-client): import notes by details through the transport …
ricomateo daf6dc8
refactor(rust-client): match the transport note fetch interface to th…
ricomateo 6e4fcb5
refactor(rust-client): return the by-details import records for impor…
ricomateo e843309
refactor(rust-client): simplify the sync_state phase boundaries
ricomateo bffcc4d
refactor(rust-client): rename screen_fetched_notes to derive_note_and…
ricomateo b442c60
docs(rust-client): explain the NTL note merge and nullifier coverage …
ricomateo 7c11dc3
docs(rust-client): simplify the nullifier fetch comment in sync_state
ricomateo 9f9b365
refactor(rust-client): take note blocks from the sync response instea…
ricomateo 13975b5
chore: improve doc comments
ricomateo 5a0d45c
fix(rust-client): return imported notes only when the fetched informa…
ricomateo 5504940
chore: update changelog
ricomateo 4f6bd78
Merge branch 'next' into ricomateo-concurrent-ntl-chain-sync
ricomateo 66c3825
Merge branch 'next' into ricomateo-concurrent-ntl-chain-sync
ricomateo 90ce893
chore: move apply_superseded_account_state call to derive_state_updates
ricomateo c987407
chore: add type alias for the import_note_records_by_details parameter
ricomateo 0e8ba3c
Merge branch 'next' into ricomateo-concurrent-ntl-chain-sync
ricomateo d24f669
chore: replace assertion with an error
ricomateo 552f9a2
Merge branch 'next' into ricomateo-concurrent-ntl-chain-sync
ricomateo c5980b5
refactor(rust-client): make only the note transport fetch concurrent …
ricomateo 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
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.
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: This is only an import by details, so maybe we could name the type something like
NoteImportByDetailsRequest(although this name is not great at all)