v1.9.1-beta01: Fix synchronizer stop, scan loop, and SQLite isolation
- Fix SdkSynchronizer.stop() race condition: use synchronous scope.cancel() instead of async self-cancellation that never completed - Fix scan loop: scan once after all downloads complete instead of per-batch - Use fresh SQLiteDatabase connection for getLastScannedHeight() to avoid reading stale Room-cached values - Bump version to 1.9.1-beta01 - Update Cargo dependencies
This commit is contained in:
@@ -42,12 +42,12 @@ secp256k1 = "0.19"
|
||||
#zcash_primitives = { path = '../../clones/librustzcash/zcash_primitives' }
|
||||
#zcash_proofs = { path = '../../clones/librustzcash/zcash_proofs' }
|
||||
|
||||
## Uncomment this to test someone else's librustzcash changes in a branch
|
||||
## Use local librustzcash with parallel scanning support
|
||||
[patch.crates-io]
|
||||
zcash_client_backend = { git = "https://git.hush.is/fekt/librustzcash", branch = "main" }
|
||||
zcash_client_sqlite = { git = "https://git.hush.is/fekt/librustzcash", branch = "main" }
|
||||
zcash_primitives = { git = "https://git.hush.is/fekt/librustzcash", branch = "main" }
|
||||
zcash_proofs = { git = "https://git.hush.is/fekt/librustzcash", branch = "main" }
|
||||
zcash_client_backend = { path = "../../librustzcash/zcash_client_backend" }
|
||||
zcash_client_sqlite = { path = "../../librustzcash/zcash_client_sqlite" }
|
||||
zcash_primitives = { path = "../../librustzcash/zcash_primitives" }
|
||||
zcash_proofs = { path = "../../librustzcash/zcash_proofs" }
|
||||
|
||||
[features]
|
||||
mainnet = ["zcash_client_sqlite/mainnet"]
|
||||
|
||||
Reference in New Issue
Block a user