1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use crate::channel::ChannelId;
use crate::channel::ChannelSetup;
use crate::node::NodeState;
use crate::policy::validator::EnforcementState;
use crate::prelude::*;
#[allow(missing_docs)]
pub struct NodeEntry {
pub key_derivation_style: u8,
pub network: String,
pub state: NodeState,
}
#[allow(missing_docs)]
#[derive(Debug)]
pub struct ChannelEntry {
pub channel_value_satoshis: u64,
pub channel_setup: Option<ChannelSetup>,
pub id: Option<ChannelId>,
pub enforcement_state: EnforcementState,
}