State
public enum State
extension CompactBlockProcessor.State: Equatable
Represents the possible states of a CompactBlockProcessor
-
connected and downloading blocks
Declaration
Swift
case downloading
-
was doing something but was paused
Declaration
Swift
case stopped
-
processor is validating
Declaration
Swift
case validating
-
processor is scanning
Declaration
Swift
case scanning
-
was processing but erred
Declaration
Swift
case error(_: Error)
-
Processor is up to date with the blockchain and you can now make transactions.
Declaration
Swift
case synced
-
Declaration
Swift
public static func == (lhs: CompactBlockProcessor.State, rhs: CompactBlockProcessor.State) -> Bool