oasis_core_runtime/app/
config.rs

1/// Runtime application configuration.
2#[derive(Clone, Default, Debug, cbor::Encode, cbor::Decode)]
3pub struct Config {
4    /// Notification settings.
5    pub notifications: Notifications,
6}
7
8/// Notification settings.
9#[derive(Clone, Default, Debug, cbor::Encode, cbor::Decode)]
10pub struct Notifications {
11    /// Subscribe to runtime block notifications.
12    pub blocks: bool,
13    /// Subscribe to runtime event notifications associated
14    /// with the specified tags.
15    pub events: Vec<Vec<u8>>,
16}