lightning-kmp
lightning-kmp copied to clipboard
An implementation of the Lightning Network in Kotlin.
This PR adds a method in `TrampolineFee` that returns the exact amount that must be provided to the trampoline payment handler in order to entirely consume a given amount, without...
This was missing from the spec, but is more flexible and clearer than inheriting values from the previous attempt. We don't really support checking that flag yet, but we should...
Hi there. Thanks for the fantastic work on this library! I'm opening this issue because I've been hacking on the Cashu protocol a little bit and added this library as...
If a disconnection happens right after having sent `PleaseOpenChannel`, swap-in utxos will not be unlocked. It's a different issue from #564, with similar effects. We may be able to clean...
We must defer splice-in operations until channels have been restored, otherwise the splice will be skipped until the next block is found or the wallet restarts. We currently wait for...
The `OnChainOutgoingPayment` has a `confirmedAt` timestamp: ```kotlin sealed class OnChainOutgoingPayment : OutgoingPayment() { abstract override val id: UUID abstract val miningFees: Satoshi abstract val channelId: ByteVector32 abstract val txId: ByteVector32...
This allows integrators to easily map events to payments.
It's a bit messy because we use `Aborted` in places where it should actually be `Closed`, but we can't because it requires an inner `Closing`. An area to explore would...
When we connect to an electrum server we perform a "handshake" that includes exchanging protocol version messages and retrieving the server's current tip, and now we also retrieve onchain fees.