Package fr. acinq. lightning. io
Types
Bytes Received
Link copied to clipboard
Channel Closing
Link copied to clipboard
Check Payments Timeout
Link copied to clipboard
Disconnected
Link copied to clipboard
Ios Tcp Socket
Link copied to clipboard
Jvm Tcp Socket
Link copied to clipboard
Lightning Session
Link copied to clipboard
class LightningSession(enc: CipherState, dec: CipherState, ck: ByteArray)
Content copied to clipboard
Native Socket Exception
Link copied to clipboard
sealed class NativeSocketException
Content copied to clipboard
Payment Event
Link copied to clipboard
Payment Not Sent
Link copied to clipboard
data class PaymentNotSent(request: SendPayment, reason: OutgoingPaymentFailure) : PeerListenerEvent
Content copied to clipboard
Payment Progress
Link copied to clipboard
data class PaymentProgress(request: SendPayment, fees: MilliSatoshi) : PeerListenerEvent
Content copied to clipboard
Payment Received
Link copied to clipboard
data class PaymentReceived(incomingPayment: IncomingPayment, received: IncomingPayment.Received) : PeerListenerEvent
Content copied to clipboard
Payment Request Generated
Link copied to clipboard
data class PaymentRequestGenerated(receivePayment: ReceivePayment, request: String) : PeerListenerEvent
Content copied to clipboard
Payment Sent
Link copied to clipboard
data class PaymentSent(request: SendPayment, payment: OutgoingPayment) : PeerListenerEvent
Content copied to clipboard
Pay To Open Response Event
Link copied to clipboard
data class PayToOpenResponseEvent(payToOpenResponse: PayToOpenResponse) : PeerEvent
Content copied to clipboard
Peer
Link copied to clipboard
@ObsoleteCoroutinesApi
Content copied to clipboard
The peer we establish a connection to. This object contains the TCP socket, a flow of the channels with that peer, and watches the events on those channels and processes the relevant actions. The dialogue with the peer is done in coroutines.
Peer Channels
Link copied to clipboard
object PeerChannels
Content copied to clipboard
Peer Listener Event
Link copied to clipboard
sealed class PeerListenerEvent
Content copied to clipboard
Phoenix Android Legacy Info Event
Link copied to clipboard
data class PhoenixAndroidLegacyInfoEvent(info: PhoenixAndroidLegacyInfo) : PeerListenerEvent
Content copied to clipboard
Purge Expired Payments
Link copied to clipboard
data class PurgeExpiredPayments(fromCreatedAt: Long, toCreatedAt: Long) : PaymentEvent
Content copied to clipboard
Receive Payment
Link copied to clipboard
data class ReceivePayment(paymentPreimage: ByteVector32, amount: MilliSatoshi?, description: String, expirySeconds: Long?, result: CompletableDeferred<PaymentRequest>) : PaymentEvent
Content copied to clipboard
Send Payment
Link copied to clipboard
data class SendPayment(paymentId: UUID, amount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details.Normal, trampolineFeesOverride: List<TrampolineFees>?) : PaymentEvent
Content copied to clipboard
Send Phoenix Android Legacy Migrate
Link copied to clipboard
data class SendPhoenixAndroidLegacyMigrate(newNodeId: PublicKey) : PeerEvent
Content copied to clipboard
Send Swap In Request
Link copied to clipboard
Swap In Confirmed Event
Link copied to clipboard
data class SwapInConfirmedEvent(swapInConfirmed: SwapInConfirmed) : PeerListenerEvent
Content copied to clipboard
Swap In Pending Event
Link copied to clipboard
data class SwapInPendingEvent(swapInPending: SwapInPending) : PeerListenerEvent
Content copied to clipboard
Swap In Response Event
Link copied to clipboard
data class SwapInResponseEvent(swapInResponse: SwapInResponse) : PeerListenerEvent
Content copied to clipboard
Watch Received
Link copied to clipboard
Wrapped Channel Event
Link copied to clipboard
data class WrappedChannelEvent(channelId: ByteVector32, channelEvent: ChannelEvent) : PeerEvent
Content copied to clipboard