Package jrpc.clightning.rpc.channel
Class CLightningChannelRPC
- java.lang.Object
-
- jrpc.clightning.rpc.channel.CLightningChannelRPC
-
public class CLightningChannelRPC extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CLightningChannelRPC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CLightningBitcoinTx
close(CommandRPCMediator mediatorCommand, java.lang.String channelId, java.lang.String unilateralTimeout, java.lang.String feeNegotiationStep, java.lang.String wrongFunding)
CLightningConnect
connect(CommandRPCMediator mediatorCommand, java.lang.String id, java.lang.String host, java.lang.String port)
CLightningDecodePay
decodePay(CommandRPCMediator mediatorCommand, java.lang.String bolt11, java.lang.String description)
boolean
disconnect(CommandRPCMediator mediatorCommand, java.lang.String id, boolean force)
CLightningBitcoinTx
fundChannel(CommandRPCMediator mediatorCommand, java.lang.String id, java.lang.String amount, java.lang.String feerate, boolean announce, int minConf, java.util.List<BitcoinUTXO> utxos, java.lang.String pushMilliSat, java.lang.String closeTo)
CLightningListChannels
listChannels(CommandRPCMediator mediatorCommand, java.lang.String shortIdChannel, java.lang.String source, java.lang.String destination)
CLightningListPeers
listPeers(CommandRPCMediator mediatorCommand, java.lang.String id, java.lang.String level)
CLightningListSendPays
listSendPays(CommandRPCMediator mediatorCommand, java.lang.String bolt11, java.lang.String paymentHash)
CLightningPayResult
pay(CommandRPCMediator mediatorCommand, java.lang.String bolt11, java.lang.String milliSatoshi, java.lang.String label, float riskFactor, java.lang.String maxFeePercent, int retryFor, java.lang.String maxDelay, java.lang.String exemptfee)
-
-
-
Method Detail
-
close
public CLightningBitcoinTx close(CommandRPCMediator mediatorCommand, java.lang.String channelId, java.lang.String unilateralTimeout, java.lang.String feeNegotiationStep, java.lang.String wrongFunding)
-
fundChannel
public CLightningBitcoinTx fundChannel(CommandRPCMediator mediatorCommand, java.lang.String id, java.lang.String amount, java.lang.String feerate, boolean announce, int minConf, java.util.List<BitcoinUTXO> utxos, java.lang.String pushMilliSat, java.lang.String closeTo)
-
connect
public CLightningConnect connect(CommandRPCMediator mediatorCommand, java.lang.String id, java.lang.String host, java.lang.String port)
-
disconnect
public boolean disconnect(CommandRPCMediator mediatorCommand, java.lang.String id, boolean force)
-
pay
public CLightningPayResult pay(CommandRPCMediator mediatorCommand, java.lang.String bolt11, java.lang.String milliSatoshi, java.lang.String label, float riskFactor, java.lang.String maxFeePercent, int retryFor, java.lang.String maxDelay, java.lang.String exemptfee)
-
listSendPays
public CLightningListSendPays listSendPays(CommandRPCMediator mediatorCommand, java.lang.String bolt11, java.lang.String paymentHash)
-
listChannels
public CLightningListChannels listChannels(CommandRPCMediator mediatorCommand, java.lang.String shortIdChannel, java.lang.String source, java.lang.String destination)
-
listPeers
public CLightningListPeers listPeers(CommandRPCMediator mediatorCommand, java.lang.String id, java.lang.String level)
-
decodePay
public CLightningDecodePay decodePay(CommandRPCMediator mediatorCommand, java.lang.String bolt11, java.lang.String description)
-
-