1a03fa6f7c
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. |
||
---|---|---|
.. | ||
BlockScanTests.swift | ||
BlockStreamingTest.swift | ||
CompactBlockProcessorTests.swift | ||
CompactBlockReorgTests.swift | ||
DownloadTests.swift | ||
LightWalletServiceTests.swift |