Struct ckb_app_config::NotifyConfig [−][src]
pub struct NotifyConfig {
pub new_block_notify_script: Option<String>,
pub network_alert_notify_script: Option<String>,
}Expand description
Notify config options.
Fields
new_block_notify_script: Option<String>An executable script to be called whenever there’s a new block in the canonical chain.
The script is called with the block hash as the argument.
network_alert_notify_script: Option<String>An executable script to be called whenever there’s a new network alert received.
The script is called with the alert message as the argument.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more