Type Alias kernel_NotifyBlockTip

Source
pub type kernel_NotifyBlockTip = Option<unsafe extern "C" fn(user_data: *mut c_void, state: kernel_SynchronizationState, index: *const kernel_BlockIndex, verification_progress: f64)>;
Expand description

Function signatures for the kernel notifications.

Aliased Type§

pub enum kernel_NotifyBlockTip {
    None,
    Some(unsafe extern "C" fn(*mut c_void, u32, *const kernel_BlockIndex, f64)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, u32, *const kernel_BlockIndex, f64))

Some value of type T.