-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.lightningdevkit.ldknode.Disposable,org.lightningdevkit.ldknode.NodeInterface
public class Node extends FFIObject implements NodeInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNode.Companion
-
Method Summary
-
-
Method Detail
-
uniffiClonePointer
Pointer uniffiClonePointer()
-
bolt11Payment
Bolt11Payment bolt11Payment()
-
bolt12Payment
Bolt12Payment bolt12Payment()
-
closeChannel
Unit closeChannel(String userChannelId, String counterpartyNodeId)
-
connectOpenChannel
String connectOpenChannel(String nodeId, String address, ULong channelAmountSats, ULong pushToCounterpartyMsat, ChannelConfig channelConfig, Boolean announceChannel)
-
disconnect
Unit disconnect(String nodeId)
-
eventHandled
Unit eventHandled()
-
forceCloseChannel
Unit forceCloseChannel(String userChannelId, String counterpartyNodeId)
-
listBalances
BalanceDetails listBalances()
-
listChannels
List<ChannelDetails> listChannels()
-
listPayments
List<PaymentDetails> listPayments()
-
listPeers
List<PeerDetails> listPeers()
-
listeningAddresses
List<String> listeningAddresses()
-
networkGraph
NetworkGraph networkGraph()
-
nextEventAsync
Event nextEventAsync()
-
onchainPayment
OnchainPayment onchainPayment()
-
payment
PaymentDetails payment(String paymentId)
-
removePayment
Unit removePayment(String paymentId)
-
signMessage
String signMessage(List<UByte> msg)
-
spontaneousPayment
SpontaneousPayment spontaneousPayment()
-
status
NodeStatus status()
-
syncWallets
Unit syncWallets()
-
updateChannelConfig
Unit updateChannelConfig(String userChannelId, String counterpartyNodeId, ChannelConfig channelConfig)
-
waitNextEvent
Event waitNextEvent()
-
-
-
-