ZcashLightClientKit/Tests/NetworkTests
Lukas Korba 34af1f1611 [#1140] ClearCache action before anything starts
- draft

[#1140] ClearCache action before anything starts

- ClearCache action right after the idle action, clearing out metadata so the sync process can be fully restored from the DB and live blockchain values only.
- InternalSyncProgress removed
- InternalSyncProgressStorage removed
- Sync process control logic updated, controlled by latestScannedHeight and firstUnenhancedHeight only
- cleaned up unused code

[#1140] ClearCache action before anything starts

- ChecksBeforeSyncAction removed
- Offline tests fixed

[#1140] ClearCache action before anything starts

- fixed injection of a wallet birthday, the sync range must start with wallet BD instead of lower bound

[#1140] ClearCache action before anything starts

- Network tests fixed
- DarkSideTests partially fixed

[#1140] ClearCache action before anything starts

- rewind actions extension in compact block processor added

[#1140] ClearCache action before anything starts

- draft

[#1140] ClearCache action before anything starts

- DarkSideTests fixed

[#1140] ClearCache action before anything starts

- SyncRanges modified to be even less dependent on ranges, now it holds just 3 values (latest block height, latest scanned height if any, first unenhanced height if any), the rest is computed on the fly

[#1140] ClearCache action before anything starts

- SyncRanges struct not anymore, refactored to SyncControlData, holding just 3 mentioned values

[#1140] ClearCache action before anything starts

- cleanup

[#1140] ClearCache action before anything starts (#1148)

- TODO solved, the UTXOs fetcher doesn't work with range anymore, therefore reporting 100%
2023-06-28 12:34:41 +02:00
..
BlockStreamingTest.swift [#1140] ClearCache action before anything starts 2023-06-28 12:34:41 +02:00
CompactBlockProcessorTests.swift [#1140] ClearCache action before anything starts 2023-06-28 12:34:41 +02:00
CompactBlockReorgTests.swift [#1111] Change storage for InternalSyncProgress 2023-05-22 20:42:11 +02:00
DownloadTests.swift [#1111] Change storage for InternalSyncProgress 2023-05-22 20:42:11 +02:00
LightWalletServiceTests.swift [#901] Use fulfillment instead of wait in async context in tests 2023-05-01 09:07:43 +02:00