vlsd 0.14.0-rc.1

A Lightning signer that connects to the node using a gRPC protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct InfoModel {
    height: u32,
    channels: u32,
    version: String,
}

impl InfoModel {
    pub fn new(height: u32, channels: u32, version: String) -> Self {
        Self { height, channels, version }
    }
}