ZcashLightClientKit/Tests/NetworkTests
Michal Fousek e01c83690f [#646] SDK sync process resumes correctly
- Previously we had one range for each sync which was used for each
  phase of sync process. Newly there is separate range for each phase of
  the sync process.
- I added `InternalSyncProgress` utility. This utility tracks progress
  of some phases. And it is able to compute right ranges which should be
  used for syncing.
- Some unused download code from `CompactBlockProcessor` is removed.

Fix tests

Address review comments

- Rebase to master
- Update how range for `processBatchFinished()` is computed.
- Refactor `InternalSyncProgress`
- Add tests for `InternalSyncProgress`

Address review comments

Change how latest downloaded block is tracked

- Cache DB is no longer used to track which block was downloaded as
  latest. `InternalSyncProgress` is used to do that.
- Thanks to that #660 is fixed. And cache DB can be completely removed
  after sync process.
- Added sleep(1) to some darkside tests when latest block height is set.
  Otherwise lightwalletd in darkside mode doesn't have time to setup and
  tests are flaky.

Fix TransactionEnhancementTests.testBasicEnhancement test
2022-12-12 14:27:30 +01:00
..
BlockScanTests.swift [#637] Make sapling parameter download part of processing blocks (#650) 2022-11-29 07:38:28 +01:00
BlockStreamingTest.swift [#646] SDK sync process resumes correctly 2022-12-12 14:27:30 +01:00
CompactBlockProcessorTests.swift [#646] SDK sync process resumes correctly 2022-12-12 14:27:30 +01:00
CompactBlockReorgTests.swift Fix compiler errors 2022-10-31 09:57:10 -03:00
DownloadTests.swift [476] CompactBlockProcessor to async/await 2022-09-15 08:10:12 +02:00
LightWalletServiceTests.swift [#492] Get rid of blocking API (#551) 2022-10-03 20:05:11 -03:00