ZcashLightClientKit/Tests/NetworkTests
Michal Fousek 1a03fa6f7c [#743] Refactor blocks validation in CompactBlockProcessor
Closes #743

- Added new protocol `BlockValidator` and `BlockValidatorImpl` class. All the code related to blocks validation is extracted to `BlockValidatorImpl`.
- Fixed `testSingleDownloadAndScan()` test.
- Changed how validation error are handled. Previously validation error were handled directly next to validation code. And when some validation
errors happened method from `CompactBlockProcessor` were called. Now validation errors are handled in `CompactBlockProcessor.processNewBlocks`
in a same way as any other error that can occur during sync process.
2023-02-03 09:58:36 +01:00
..
BlockScanTests.swift [#743] Refactor blocks validation in CompactBlockProcessor 2023-02-03 09:58:36 +01:00
BlockStreamingTest.swift - [#679] Implementation of the File-system based block cache (#679) 2023-02-02 13:58:12 -03:00
CompactBlockProcessorTests.swift - [#679] Implementation of the File-system based block cache (#679) 2023-02-02 13:58:12 -03:00
CompactBlockReorgTests.swift - [#679] Implementation of the File-system based block cache (#679) 2023-02-02 13:58:12 -03:00
DownloadTests.swift - [#679] Implementation of the File-system based block cache (#679) 2023-02-02 13:58:12 -03:00
LightWalletServiceTests.swift [#711] Add Swiftlint plug in to SDK (#722) 2023-01-18 17:09:04 +01:00