-
Notifications
You must be signed in to change notification settings - Fork 347
Migrations & data storage for pre-DAG-sync #831
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
27 commits
Select commit
Hold shift + click to select a range
32e2991
zcash_client_backend: Add note commitment tree sizes to `CompactBlock…
nuttycom 3e358bc
zcash_client_backend: Use `shardtree` for note commitments in block s…
nuttycom ed2e22b
zcash_client_sqlite: Add shard serialization & parsing
nuttycom 9f2bb94
zcash_client_sqlite: Add shard persistence to wallet migration.
nuttycom ade882d
zcash_client_sqlite: Add shard & checkpoint insertion.
nuttycom d11f3d2
zcash_client_sqlite: Add shardtree truncation & checkpoint operations.
nuttycom c42cffe
zcash_client_backend: Replace `WalletWrite::advance_by_block` with `W…
nuttycom 425b5e0
zcash_client_sqlite: Support shardtree checkpoint functionality
nuttycom 0a4236f
zcash_client_sqlite: Add tests for sqlite-backed ShardTree & fix reve…
nuttycom 106669d
zcash_client_sqlite: Generalize SQLite-backed ShardStore impl to make…
nuttycom 547634e
zcash_client_sqlite: Move the SqliteShardStore implementation out of …
nuttycom ba70917
Reorganize Sapling and Orchard note commitment tree sizes in CompactB…
nuttycom d65b129
Apply changelog, documentation & style suggestions from code review
nuttycom 8fa3a08
Fix indexing error in checkpoint determination.
nuttycom c05b3d0
Add a test demonstrating off-by-one error in `scan_block_with_runner`
nuttycom 45177a5
Fix off-by-one error in scan_block_with_runner.
nuttycom 95745dd
Use ruqlite::Rows::mapped to allow `collect`
nuttycom cd939f9
Ensure that checkpoints are ordered by position when querying for pru…
nuttycom 70497a2
Only store z->t transaction data once, not once per Sapling output.
nuttycom 8625e9a
Handle parsing of the not-present `CommitmentTree` sentinel.
nuttycom e225a54
Use `NonZeroU32` for all `min_confirmations` values.
nuttycom 77b6380
Remove `zcash_client_backend::data_api::chain::validate_chain`
nuttycom e3aafda
Move chain continuity checks into `scan_block_with_runner`
nuttycom 09a0096
Use valid serialized CommitmentTree values for migration tests.
nuttycom 42ed6ba
Rename `zcash_client_backend::welding_rig` to `zcash_client_backend::…
nuttycom c363e71
Rename proto::compact::{BlockMetadata => ChainMetadata}
nuttycom c13c8c6
Address comments from code review.
nuttycom 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,3 +17,8 @@ members = [ | |
| lto = true | ||
| panic = 'abort' | ||
| codegen-units = 1 | ||
|
|
||
| [patch.crates-io] | ||
| incrementalmerkletree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "082109deacf8611ee7917732e19b56158bda96d5" } | ||
| shardtree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "082109deacf8611ee7917732e19b56158bda96d5" } | ||
| orchard = { git = "https://github.com/zcash/orchard.git", rev = "5da41a6bbb44290e353ee4b38bcafe37ffe79ce8" } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I verified that this is the latest commit in zcash/orchard#398. |
||
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.
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.