Name

public extension Notification.Name
  • Processing progress update

    Query the userInfo object for the key CompactBlockProcessorNotificationKey.progress and CompactBlockProcessorNotificationKey.progressheight for more information on progress % and height

    Declaration

    Swift

    static let blockProcessorUpdated: Notification.Name
  • Notification sent when a compact block processor starts downloading

    Declaration

    Swift

    static let blockProcessorStartedDownloading: Notification.Name
  • Notification sent when the compact block processor starts validating the chain state

    Declaration

    Swift

    static let blockProcessorStartedValidating: Notification.Name
  • Notification sent when the compact block processor starts scanning blocks from the cache

    Declaration

    Swift

    static let blockProcessorStartedScanning: Notification.Name
  • Notification sent when the compact block processsor stop() method is called

    Declaration

    Swift

    static let blockProcessorStopped: Notification.Name
  • Notification sent when the compact block processsor presented an error.

    Query userInfo object on the key CompactBlockProcessorNotificationKey.error

    Declaration

    Swift

    static let blockProcessorFailed: Notification.Name
  • Notification sent when the compact block processsor has finished syncing the blockchain to latest height

    Declaration

    Swift

    static let blockProcessorFinished: Notification.Name
  • Notification sent when the compact block processsor is doing nothing

    Declaration

    Swift

    static let blockProcessorIdle: Notification.Name
  • Notification sent when something odd happened. probably going from a state to another state that shouldn’t be the next state.

    Declaration

    Swift

    static let blockProcessorUnknownTransition: Notification.Name
  • Notification sent when the compact block processsor handled a ReOrg.

    Query the userInfo object on the key CompactBlockProcessorNotificationKey.reorgHeight for the height on which the reorg was detected. CompactBlockProcessorNotificationKey.rewindHeight for the height that the processor backed to in order to solve the Reorg

    Declaration

    Swift

    static let blockProcessorHandledReOrg: Notification.Name
  • Notification is posted whenever transactions are updated

    Important

    not yet posted

    Declaration

    Swift

    static let transactionsUpdated: Notification.Name
  • Posted when the synchronizer is started.

    Declaration

    Swift

    static let synchronizerStarted: Notification.Name
  • Posted when there are progress updates.

    Note

    Query userInfo object for NotificationKeys.progress for Float progress percentage and NotificationKeys.blockHeight for the current progress height

    Declaration

    Swift

    static let synchronizerProgressUpdated: Notification.Name
  • Posted when the synchronizer is synced to latest height

    Declaration

    Swift

    static let synchronizerSynced: Notification.Name
  • Posted when the synchronizer is stopped

    Declaration

    Swift

    static let synchronizerStopped: Notification.Name
  • Posted when the synchronizer loses connection

    Declaration

    Swift

    static let synchronizerDisconnected: Notification.Name
  • Posted when the synchronizer starts syncing

    Declaration

    Swift

    static let synchronizerSyncing: Notification.Name
  • Posted when the synchronizer finds a mined transaction

    Note

    query userInfo on NotificationKeys.minedTransaction for the transaction

    Declaration

    Swift

    static let synchronizerMinedTransaction: Notification.Name
  • Posted when the synchronizer presents an error

    Note

    query userInfo on NotificationKeys.error for an error

    Declaration

    Swift

    static let synchronizerFailed: Notification.Name