Package fr.acinq.lightning.db

Types

ChannelClosingType
Link copied to clipboard
common
enum ChannelClosingType : Enum<ChannelClosingType>
ChannelsDb
Link copied to clipboard
common
interface ChannelsDb
Databases
Link copied to clipboard
common
interface Databases
HopDesc
Link copied to clipboard
common
data class HopDesc(nodeId: PublicKey, nextNodeId: PublicKey, shortChannelId: ShortChannelId?)
IncomingPayment
Link copied to clipboard
common
data class IncomingPayment(preimage: ByteVector32, origin: IncomingPayment.Origin, received: IncomingPayment.Received?, createdAt: Long) : WalletPayment

An incoming payment received by this node. At first it is in a pending state, then will become either a success (if we receive a matching payment) or a failure (if the payment request expires).

IncomingPaymentsDb
Link copied to clipboard
common
interface IncomingPaymentsDb
InMemoryChannelsDb
Link copied to clipboard
common
class InMemoryChannelsDb : ChannelsDb
InMemoryDatabases
Link copied to clipboard
common
data class InMemoryDatabases(channels: InMemoryChannelsDb, payments: InMemoryPaymentsDb) : Databases

In-memory implementations of the database components. This should only be used in tests: applications should inject their own implementations depending on the database backend available on the platform.

InMemoryPaymentsDb
Link copied to clipboard
common
class InMemoryPaymentsDb : PaymentsDb
OutgoingPayment
Link copied to clipboard
common
data class OutgoingPayment(id: UUID, recipientAmount: MilliSatoshi, recipient: PublicKey, details: OutgoingPayment.Details, parts: List<OutgoingPayment.Part>, status: OutgoingPayment.Status, createdAt: Long) : WalletPayment

An outgoing payment sent by this node. The payment may be split in multiple parts, which may fail, be retried, and then either succeed or fail.

OutgoingPaymentsDb
Link copied to clipboard
common
interface OutgoingPaymentsDb
PaymentsDb
Link copied to clipboard
common
interface PaymentsDb : IncomingPaymentsDb, OutgoingPaymentsDb
PaymentTypeFilter
Link copied to clipboard
common
enum PaymentTypeFilter : Enum<PaymentTypeFilter>
WalletPayment
Link copied to clipboard
common
sealed class WalletPayment

A payment made to or from the wallet.