ZcashLightClientKit/Tests/OfflineTests
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
..
DerivationToolTests [#561] Fix unified typecodes tests 2022-10-18 11:40:36 -03:00
BirthdayTests.swift [#398] Make WalletBirthday an internal type (#414) 2022-07-12 16:36:12 -03:00
BlockBatchValidationTests.swift [#646] SDK sync process resumes correctly 2022-12-12 14:27:30 +01:00
CompactBlockStorageTests.swift [#492] Get rid of blocking API (#551) 2022-10-03 20:05:11 -03:00
ErrorLocalizationTests.swift [#392] Synchronizer error 8. when syncing. (#413) 2022-07-12 17:28:16 -03:00
InternalSyncProgressTests.swift [#646] SDK sync process resumes correctly 2022-12-12 14:27:30 +01:00
MemoTests.swift Update changelog.md and podspec version 2022-03-03 19:07:03 -03:00
NotesRepositoryTests.swift Fix pre populated Db to have transactions from darksidewalletd seed 2022-10-21 13:54:53 -03:00
NullBytesTests.swift [#561] Fix unified typecodes tests 2022-10-18 11:40:36 -03:00
PagedTransactionRepositoryTests.swift [#621] Adds a synchronizer state subject with the last available 2022-11-14 14:44:33 -03:00
PendingTransactionRepositoryTests.swift Fix UInt32 conversions to SQL in PendingTransactionDao 2022-10-19 14:13:18 -06:00
RawTransactionTests.swift Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
RecipientTests.swift Add Fee field to Transaction, ConfirmedTransaction, ReceivedTransactions and Pen 2022-10-19 17:37:06 -03:00
TransactionRepositoryTests.swift Fix: Transaction repository tests pass 2022-10-21 18:19:08 -03:00
TxIdTests.swift Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
UndescribableTests.swift [#461] Adopt a Type-Safe Keys and Addresses API 2022-09-05 15:09:07 -03:00
UnifiedTypecodesTests.swift [#561] Fix unified typecodes tests 2022-10-18 11:40:36 -03:00
WalletTests.swift [#646] SDK sync process resumes correctly 2022-12-12 14:27:30 +01:00
ZatoshiTests.swift [#381] Move Zatoshi and Amount Types to the SDK (#396) 2022-06-22 16:45:37 -03:00
ZcashRustBackendTests.swift [#602] Improve error logging for InitializerError and RustWeldingError 2022-11-01 13:57:42 -03:00
Zip302MemoTests.swift [#639] Provide an API to estimate TextMemo length limit correctly (#640) 2022-11-22 14:02:39 -03:00