ZcashLightClientKit/Tests
Francisco Gindre 3be694c920
[#444] Syncing Restarts to zero when the wallet is wiped and synced from zero in one go. (#445)
This commit changes the way walletBirthday is stored in the synchronizer and intinitializer. Wallets syncing from creation/restore would have a problem where the birthday stored in the Blocks Table would be the one corresponding to the chekpoint found a the time of syncing, but the compact block downloader would start downloading blocks from the height provided by the user when the wallet was restored. This would cause a `validationFailed` error at the height checkpoint.height + 1 and restart downloading from checkpoint.height and then resume correctly.

Darksidewalletd test setUp was changed re be able to reproduce the error since injection guaranteed correctness and it was not possible to reproduce the error with it since the wallet birthday height provided matched exactly with the checkpoint on disk and that's the only case that avoided this error.

Closes #444
2022-07-29 10:33:23 -03:00
..
DarksideTests [#444] Syncing Restarts to zero when the wallet is wiped and synced from zero in one go. (#445) 2022-07-29 10:33:23 -03:00
NetworkTests [#440] Split constants for Download Batches and Scanning Batches (#441) 2022-07-29 10:07:08 -03:00
OfflineTests [#392] Synchronizer error 8. when syncing. (#413) 2022-07-12 17:28:16 -03:00
TestUtils [#444] Syncing Restarts to zero when the wallet is wiped and synced from zero in one go. (#445) 2022-07-29 10:33:23 -03:00
lightwalletd Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00