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