Esempio n. 1
0
 public Task ConnectAsync(NodeInfo nodeInfo)
 {
     return(SendCommandAsync <object>("connect", new[] { $"{nodeInfo.NodeId}@{nodeInfo.Host}:{nodeInfo.Port}" }, true));
 }
Esempio n. 2
0
 public Task FundChannelAsync(NodeInfo nodeInfo, Money money)
 {
     return(SendCommandAsync <object>("fundchannel", new object[] { nodeInfo.NodeId, money.Satoshi }, true));
 }