Instance Property
headerTip
Called when a new best block header is added.
let headerTip: ((SynchronizationState, Int64, Int64, Bool) -> Void)?
Parameters
-
state
-
Current synchronization state.
-
height
-
Header chain height.
-
timestamp
-
Header timestamp (Unix epoch seconds).
-
presync
-
Whether this is a pre-sync header.