c0c0c426d5
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. |
||
---|---|---|
.. | ||
Bool+ToData.swift | ||
Data+ToOtherTypes.swift | ||
Data+Zcash.swift | ||
Data+internal.swift | ||
Error+ZcashError.swift | ||
HexEncode.swift | ||
Int+ToData.swift | ||
NumberFormatter+Zcash.swift | ||
URL+UpdateWithAlias.swift | ||
Undescribable.swift | ||
Zatoshi+SQLite.swift | ||
ZcashRust+Utils.swift | ||
ZcashSDK+extensions.swift |