Initializer
init(blockTip:headerTip:progress:warningSet:warningUnset:flushError:fatalError:)
Creates notification callbacks.
init(blockTip: ((SynchronizationState, BlockTreeEntrySnapshot, Double) -> Void)? = nil, headerTip: ((SynchronizationState, Int64, Int64, Bool) -> Void)? = nil, progress: ((String, Int32, Bool) -> Void)? = nil, warningSet: ((Warning, String) -> Void)? = nil, warningUnset: ((Warning) -> Void)? = nil, flushError: ((String) -> Void)? = nil, fatalError: ((String) -> Void)? = nil)
Set only the callbacks you need; unset callbacks are ignored. All closures are captured at init time and cannot be changed later.