ZcashLightClientKit/Tests/DarksideTests
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
..
AdvancedReOrgTests.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00
BalanceTests.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00
BlockDownloaderTests.swift [#888] Make actor from ZcashRustBackendWelding 2023-04-11 17:51:28 +02:00
DarksideSanityCheckTests.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00
PendingTransactionUpdatesTest.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00
ReOrgTests.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00
RewindRescanTests.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00
ShieldFundsTests.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00
SynchronizerDarksideTests.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00
SynchronizerTests.swift [#1140] ClearCache action before anything starts 2023-06-28 12:34:41 +02:00
TransactionEnhancementTests.swift [#1111] Change storage for InternalSyncProgress 2023-05-22 20:42:11 +02:00
Z2TReceiveTests.swift [#700] CompactBlockProcessor as state machine proof of concept 2023-05-30 15:01:42 +02:00