ZcashLightClientKit/Sources/ZcashLightClientKit/Extensions
Michal Fousek c0c0c426d5 [#1111] Change storage for InternalSyncProgress
Closes #1111

- `InternalSyncProgress` has now new disk storage implementation:
  `InternalSyncProgressDiskStorage`.
- When then `UserDefaults` was used as disk storage there were no IO errors
  to handle. But now the code in `InternalSyncProgressDiskStorage`
  writes to files and reads from files. So there are errors to handle.
  Because of this protocol `InternalSyncProgressStorage` changed a bit
  and API of `InternalSyncProgress` changed a bit. Now all the functions
  throws.
- It is possible to make progress storage IO errors silent but I think
  that storing of the progress is very essential to the sync process. So
  I think that when progress storage fails then the sync process should
  fail.
- `Initializer` has new parameter `generalStorageURL`. It is directory
  where `InternalSyncProgressDiskStorage` stores progress files. In
  future this can be used for storing any data the SDK wants.
2023-05-22 20:42:11 +02:00
..
Bool+ToData.swift [#1111] Change storage for InternalSyncProgress 2023-05-22 20:42:11 +02:00
Data+ToOtherTypes.swift [#1111] Change storage for InternalSyncProgress 2023-05-22 20:42:11 +02:00
Data+Zcash.swift
Data+internal.swift
Error+ZcashError.swift [#1035] Create ZcashError.unknown 2023-05-10 14:48:16 +02:00
HexEncode.swift
Int+ToData.swift [#1111] Change storage for InternalSyncProgress 2023-05-22 20:42:11 +02:00
NumberFormatter+Zcash.swift
URL+UpdateWithAlias.swift [#908] Add last and latest blocks data to Synchronizer State (#911) 2023-04-14 09:08:37 +02:00
Undescribable.swift
Zatoshi+SQLite.swift [#361] Introduce ZcashError (#1005) 2023-04-24 18:15:20 -03:00
ZcashRust+Utils.swift
ZcashSDK+extensions.swift