ZcashLightClientKit/Tests/TestUtils
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
..
proto [#394] Update swift-grpc to 1.8.0 (#395) 2022-06-16 12:37:16 -03:00
DarkSideWalletService.swift [#367] Darksidewalletd for testing `shield_funds` (#368) 2022-04-29 09:19:18 -03:00
FakeChainBuilder.swift Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
FakeService.swift Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
FakeStorage.swift Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
MockTransactionRepository.swift [#381] Move Zatoshi and Amount Types to the SDK (#396) 2022-06-22 16:45:37 -03:00
SampleLogger.swift Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
Stubs.swift Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
TestCoordinator.swift [#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
TestDbBuilder.swift Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
Tests+Utils.swift [#404] Configure GRPC KeepAlive according to docs (#409) 2022-07-08 16:49:24 -03:00
ZcashSdk_Data.db Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
cache.db Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
test_data.db Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00