anya-core 1.2.0

Enterprise-grade Bitcoin Infrastructure Platform
Documentation
1
2
3
4
5
6
7
use std::error::Error;
impl LightningNode {
    pub fn register_watchtower(&self, tower_pubkey: PublicKey) -> Result<()> {
        let tower_client = WatchtowerClient::new(tower_pubkey);
        self.channel_manager.add_watchtower(tower_client)
    }
}