@@ -9,9 +9,9 @@ use simln_lib::sim_node::{
99 SimGraph , SimNode , SimulatedChannel ,
1010} ;
1111use simln_lib:: {
12- cln, cln:: ClnNode , eclair, eclair:: EclairNode , lnd , lnd :: LndNode , serializers ,
13- ActivityDefinition , Amount , Interval , LightningError , LightningNode , NodeId , NodeInfo ,
14- Simulation , SimulationCfg , WriteResults ,
12+ cln, cln:: ClnNode , eclair, eclair:: EclairNode , ldk_server , ldk_server :: LdkServerNode , lnd ,
13+ lnd :: LndNode , serializers , ActivityDefinition , Amount , Interval , LightningError , LightningNode ,
14+ NodeId , NodeInfo , Simulation , SimulationCfg , WriteResults ,
1515} ;
1616use simln_lib:: { ShortChannelID , SimulationError } ;
1717use std:: collections:: HashMap ;
@@ -160,6 +160,7 @@ pub enum NodeConnection {
160160 Lnd ( lnd:: LndConnection ) ,
161161 Cln ( cln:: ClnConnection ) ,
162162 Eclair ( eclair:: EclairConnection ) ,
163+ LdkServer ( ldk_server:: LdkServerConnection ) ,
163164}
164165
165166/// Data structure that is used to parse information from the simulation file. It is used to
@@ -396,6 +397,7 @@ async fn get_clients(
396397 NodeConnection :: Lnd ( c) => Arc :: new ( Mutex :: new ( LndNode :: new ( c) . await ?) ) ,
397398 NodeConnection :: Cln ( c) => Arc :: new ( Mutex :: new ( ClnNode :: new ( c) . await ?) ) ,
398399 NodeConnection :: Eclair ( c) => Arc :: new ( Mutex :: new ( EclairNode :: new ( c) . await ?) ) ,
400+ NodeConnection :: LdkServer ( c) => Arc :: new ( Mutex :: new ( LdkServerNode :: new ( c) . await ?) ) ,
399401 } ;
400402
401403 let node_info = node. lock ( ) . await . get_info ( ) . clone ( ) ;
0 commit comments