a38e8134b8
Closes #724 - All the notifications are gone. Only `synchronizerConnectionStateChanged` stayed because it's used internally. Let's deal with this one in another task. - Synchronizer has now two new publishers (`stateStream` and (`eventStream`) which are used to notify the client app about what is going on. These publishers replace notifications. - There is also new property `latestState` which can be used to get the SDK state in synchronous manner. - `SDKSynchronizer.status` is no longer public. It is used internally to refresh `latestState` and emit new values from `stateStream. - When `SDKSynchronizer.status` is update `notify()` function is triggered. And this function is now responsible for generating new snapshot of `SynchronizerState` and updating `latestState` and `stateStream`. |
||
---|---|---|
.. | ||
AdvancedReOrgTests.swift | ||
BalanceTests.swift | ||
BlockDownloaderTests.swift | ||
DarksideSanityCheckTests.swift | ||
InternalStateConsistencyTests.swift | ||
PendingTransactionUpdatesTest.swift | ||
ReOrgTests.swift | ||
RewindRescanTests.swift | ||
ShieldFundsTests.swift | ||
SychronizerDarksideTests.swift | ||
SynchronizerTests.swift | ||
TransactionEnhancementTests.swift | ||
Z2TReceiveTests.swift |