1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
crate::ix!();

pub type NodeInitMessageFn = fn(message: &String) -> ();

pub type NodeMessageBoxFn = fn(
    message: &BilingualStr,
    caption: &String,
    style:   u32
) -> bool;

pub type NodeQuestionFn = fn(
    message:                 &BilingualStr,
    non_interactive_message: &String,
    caption:                 &String,
    style:                   u32
) -> bool;

pub type NodeShowProgressFn = fn(
    title:           &String,
    progress:        i32,
    resume_possible: bool
) -> ();

pub type NodeNotifyNumConnectionsChangedFn = fn(new_num_connections: i32) -> ();

pub type NodeNotifyNetworkActiveChangedFn = fn(network_active: bool) -> ();

pub type NodeNotifyAlertChangedFn = fn() -> ();

pub type NodeBannedListChangedFn = fn() -> ();

pub type NodeNotifyBlockTipFn = fn(
    _0:                    SynchronizationState,
    tip:                   BlockTip,
    verification_progress: f64
) -> ();

pub type NodeNotifyHeaderTipFn = fn(
    _0:                    SynchronizationState,
    tip:                   BlockTip,
    verification_progress: f64
) -> ();