-
Notifications
You must be signed in to change notification settings - Fork 249
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
zcash_client_sqlite
: init_blocks_table
and put_sapling_subtree_roots
conflict
#874
Comments
When the added logic from |
The Merkle hashes used for the note commitment trees are domain separated by level, so when pretending that the subtree roots are leaves of the cap tree, we need to adjust for their level not being zero. Closes zcash#874. Co-authored-by: Sean Bowe <[email protected]>
The problem was that |
The Merkle hashes used for the note commitment trees are domain separated by level, so when pretending that the subtree roots are leaves of the cap tree, we need to adjust for their level not being zero. Closes zcash#874. Co-authored-by: Sean Bowe <[email protected]>
The Merkle hashes used for the note commitment trees are domain separated by level, so when pretending that the subtree roots are leaves of the cap tree, we need to adjust for their level not being zero. Closes zcash#874. Co-authored-by: Sean Bowe <[email protected]>
The Merkle hashes used for the note commitment trees are domain separated by level, so when pretending that the subtree roots are leaves of the cap tree, we need to adjust for their level not being zero. Closes zcash#874. Co-authored-by: Sean Bowe <[email protected]>
In #831,
zcash_client_sqlite::wallet::init::init_blocks_table
was modified to insert the nodes of the given wallet birthday frontier into theShardTree
:librustzcash/zcash_client_sqlite/src/wallet/init.rs
Lines 320 to 338 in 4d5dc28
Meanwhile, as the first step to the non-linear sync process being added in #872, we need to fetch the subtree roots before scanning and add them to the
ShardTree
using theWalletDb::put_sapling_subtree_roots
method added in #861:librustzcash/zcash_client_sqlite/src/lib.rs
Lines 676 to 694 in 4d5dc28
These appear to conflict: when testing #872 on mainnet,
put_sapling_subtree_roots
returns an insertion error.The text was updated successfully, but these errors were encountered: