Skip to content

Releases: ACINQ/lightning-kmp

v1.5.6

20 Sep 14:09
Compare
Choose a tag to compare

What's Changed

  • Make swap-in wait for peer ready by @pm47 in #533

Full Changelog: v1.5.5...v1.5.6

v1.5.5

15 Sep 14:44
78f2c9d
Compare
Choose a tag to compare

What's Changed

  • Add fundingTxIndex to commitments.isMoreRecent by @pm47 in #525
  • Rework ElectrumClient by @t-bast in #512
  • Don't send splice_locked before tx_signatures by @t-bast in #528
  • Handle 'unknown segwit' case when checking amounts by @pm47 in #529
  • Fix race condition in connection to Peer by @pm47 in #526
  • Add connection id to the peer MDC by @pm47 in #530

Full Changelog: v1.5.4...v1.5.5

v1.5.4

28 Aug 13:02
Compare
Choose a tag to compare

What's Changed

  • Back to SNAPSHOT by @pm47 in #521
  • Remove reserve checks for splice if contribution is positive by @pm47 in #522
  • Add logs in Peer by @dpad85 in #523

Full Changelog: v1.5.3...v1.5.4

v1.5.3

25 Aug 15:49
1b1c34d
Compare
Choose a tag to compare

What's Changed

  • Back to SNAPSHOT by @pm47 in #511
  • Check swap-in wallet at each block by @pm47 in #515
  • Trust local mutual close for swap-in by @pm47 in #517
  • Add methods to start/stop swap-in wallet by @pm47 in #518
  • Only trust mutual close txs for pre-splicing channels by @pm47 in #520
  • Release 1.5.3 by @pm47 in #519

Full Changelog: v1.5.2...v1.5.3

v1.5.2

10 Jul 12:37
90717a6
Compare
Choose a tag to compare

What's Changed

  • Back to SNAPSHOT by @pm47 in #506
  • Fix skipAbsoluteFeeCheck in liquidity policy by @pm47 in #509
  • Ignore commit_sig for aborted splice by @t-bast in #508
  • Add coroutine exception handler on more socket contexts by @t-bast in #507
  • Release 1.5.2 by @pm47 in #510

Full Changelog: v1.5.1...v1.5.2

v1.5.1

06 Jul 15:15
85f790e
Compare
Choose a tag to compare

What's Changed

  • Back to SNAPSHOT by @pm47 in #496
  • Provide a set of trusted txids for swap-in by @pm47 in #497
  • Finer grained liquidity rejections by @pm47 in #498
  • Add method to recover swap-in transactions by @sstone in #495
  • Create invoice outside of the peer's message loop by @pm47 in #492
  • Update dependencies by @sstone in #500
  • More consistent JvmTcpSocket by @t-bast in #502
  • Add Job.mkTree extension method by @pm47 in #504
  • Release 1.5.1 by @pm47 in #505

Full Changelog: v1.5.0...v1.5.1

v1.5.0

06 Jul 14:52
b70fb15
Compare
Choose a tag to compare

Major release with splice support.

What's Changed

  • StartTLS by @robbiehanson in #347
  • Implement interactive-tx construction by @t-bast in #349
  • Clean up some build settings by @pm47 in #358
  • Use typealias to factor chachapoly implementation by @pm47 in #360
  • Remove @Threadlocal annotations in tests by @pm47 in #359
  • Add dual funding contributions by @t-bast in #352
  • Use kotlinx-datetime instead of custom impls for timestamp by @pm47 in #361
  • Update gradle to 7.5.1 by @pm47 in #356
  • Add dual funding codecs by @t-bast in #353
  • Rename funder to initiator by @t-bast in #354
  • Remove lightning test factory by @pm47 in #357
  • Fix electrum state when disconnecting by @dpad85 in #362
  • Correctly set scriptHashSubscriptions when (re)connecting by @pm47 in #351
  • Refactor reserve and channel_id by @t-bast in #364
  • Use IO dispatcher when connecting to a pinned electrum server on the JVM by @dpad85 in #363
  • Remove BroadcastChannel and cleanup annotations by @pm47 in #348
  • Rework channel funding mechanism by @t-bast in #365
  • Improve invoice features validation by @t-bast in #367
  • Add a simple on-chain wallet by @pm47 in #350
  • Update to Kotlin 1.6 and use the new Memory Model by @pm47 in #370
  • Remove all static loggers by @pm47 in #355
  • Run build instead of check on CI by @pm47 in #374
  • Implement dual funding by @t-bast in #368
  • Skip JVM tests on macOS GitHub CI by @dpad85 in #377
  • Update Phoenix channel type by @t-bast in #372
  • Run electrum client and wallet tests by @sstone in #375
  • Add support for arbitrary length onion errors by @t-bast in #376
  • Add please_open_channel mechanism for trustless swap-in by @t-bast in #373
  • Remove migration prototype by @pm47 in #381
  • Resolve private keys dynamically by @pm47 in #379
  • Rename Events to Commands by @pm47 in #380
  • Only declare native source sets if used by @pm47 in #382
  • Revert "Remove migration prototype (#381)" by @pm47 in #383
  • Support Electrum requests multiplexing by @pm47 in #384
  • Fix peer state when disconnecting by @robbiehanson in #387
  • Dual swap-in fixes and improvements by @pm47 in #386
  • WalletState.balance: clarify confirmed vs unconfirmed balance by @robbiehanson in #396
  • Rework channel data model and serialization by @pm47 in #391
  • Dual-funding uses txHash and verifies nSequence by @t-bast in #392
  • Add fundingFee to IncomingPayment.ReceivedWith.NewChannel by @robbiehanson in #395
  • Peer only allowed 1 swap-in per app launch by @robbiehanson in #397
  • Put back deserialization of FundingCreated/FundingSigned by @pm47 in #400
  • Update visibility of privateKey methods to public by @dpad85 in #398
  • Emit Confirmed event when channel reaches normal by @pm47 in #403
  • Check that channel creation fee is below max by @pm47 in #402
  • Updated logic for NewChannel.confirmed by @robbiehanson in #404
  • Use MDC instead of hardcoding "key:value" in log messages. by @pm47 in #401
  • Send tx_signatures immediately by @t-bast in #409
  • Include channel backup whenever it fits by @t-bast in #410
  • Fixing off-by-one error by @robbiehanson in #415
  • Randomize final expiry by @t-bast in #394
  • Fix JVM socket startTLS when TLS is disabled by @dpad85 in #416
  • Dual funding non segwit outputs by @t-bast in #417
  • Dual funding latest changes by @t-bast in #407
  • Generate invoices using a descriptionHash (h tag) by @robbiehanson in #418
  • Publish NodeEvent when a pay-to-open is rejected by @dpad85 in #424
  • Use bitcoin-kmp 0.11.1 by @sstone in #425
  • Add multiple commitments to Commitments by @t-bast in #419
  • Prepare InteractiveTx to support splicing by @t-bast in #420
  • Serialize HTLCs only once by @t-bast in #421
  • Simplify force-close and watches management by @t-bast in #422
  • Store channel state after sending commit_sig by @t-bast in #426
  • Rework and simplify electrum client, miniwallet and watcher by @sstone in #411
  • Do not transition Closing -> Offline by @pm47 in #432
  • Allow negative contributions in InteractiveTx by @t-bast in #428
  • (Minor) Remove unused ClaimP2WPKHOutputTx by @t-bast in #431
  • Remove unnecessary commit_sig retransmit by @t-bast in #433
  • Expose swap-in and final wallets' account by @dpad85 in #437
  • startTLS negotiation with expectedHostName by @robbiehanson in #439
  • Add support for splices by @pm47 in #430
  • Remove public channel updates support by @t-bast in #435
  • Remove channel funding limits by @t-bast in #434
  • Use a Set<Tlv> in tlv streams by @t-bast in #440
  • Update tx_signature witness codec by @t-bast in #442
  • Handle exceptions when decoding lightning messages by @t-bast in #444
  • Fix RBF attempts deactivation by @t-bast in #441
  • Remove dead swap-out code by @pm47 in #449
  • Splices nits by @pm47 in #450
  • Fix race condition at initialization in ElectrumMiniWallet by @pm47 in #451
  • KeyManager cleanup by @pm47 in #446
  • Use tlv type 0 for next_funding_txid by @t-bast in #445
  • Persist channel state on tx_abort in status WaitForTxSigned by @pm47 in #453
  • Dynamic funding pubkey by @pm47 in #447
  • Rework channel features by @pm47 in #448
  • Use a tx_hash instead of txid in all lightning messages by @t-bast in #455
  • Remove ErrorInformationLeak state and fix channel recovery by @pm47 in #454
  • Store splices in payments db by @pm47 in #436
  • Deduplicate pay-to-open success responses by @t-bast in #459
  • Add user-defined liquidity policy by @pm47 in #452
  • Adjust splice feerate with unconfirmed parents by @pm47 in #456
  • Upgrade to kotlin 1.8 by @pm47 in #427
  • Update README.md badge by @pm47 in #461
  • Remove PleaseOpenChannelRejected by @pm47 in #460
  • Fix computation of fee in cpfp feerate estimator by @pm47 in #462
  • Handle forward compat when restoring by @pm47 in #466
  • Reorganize Channel classes by @pm47 in https://gith...
Read more

v1.4.5

18 Apr 09:57
c51aefc
Compare
Choose a tag to compare

This release fixes an issue with Tor on v1.4.4:

  • c81b325: Adding ability to specify expectedHostName for TLS negotiation (#439)

As this is a hotfix, the commit for this release is not on the master branch.

v1.4.4

03 Apr 12:03
4383d32
Compare
Choose a tag to compare

This release contains a small fix for v1.4.3:

  • 626deed: Store channel immediately to database when restored

As this is a hotfix, the commit for this release is not on the master branch.

v1.4.3

28 Mar 13:21
b39d772
Compare
Choose a tag to compare

This version is an update of the v1.4.2 hotfix release, containing several cherry-picks from the master branch. The more important commits are:

  • Upgrade to kotlin 1.6 and the new memory model
  • Clean up of BroadcastChannel and obsolete annotations

Complete diff: v1.4.2...v1.4.3

The purpose of this version is to bridge the gap between lightning-kmp versions, and have a 1.4 version that support Kotlin 1.6 but without the new LN features and breaking changes from 1.5 (such as dual-funding). This is used by Phoenix iOS for the 1.6 release.

As this is a hotfix, this particular commit is not on the master branch.