Skip to content

Commit

Permalink
docs: update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ProofOfKeags committed Jan 23, 2024
1 parent 0727717 commit 69ef1b2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions docs/release-notes/release-notes-0.18.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
* [Properly handle un-acked updates for exhausted watchtower
sessions](https://github.com/lightningnetwork/lnd/pull/8233)

* [Allow `shutdown`s while HTLCs are in-flight](https://github.com/lightningnetwork/lnd/pull/8167).
This change fixes an issue where we would force-close channels when receiving
a `shutdown` message if there were currently HTLCs on the channel. After this
change, the shutdown procedure should be compliant with BOLT2 requirements.

# New Features
## Functional Enhancements

Expand Down Expand Up @@ -123,6 +128,12 @@
file](https://github.com/lightningnetwork/lnd/pull/8188). The corresponding
`lncli getdebuginfo` command was also added.

* Add a [new flag](https://github.com/lightningnetwork/lnd/pull/8167) to the
`CloseChannel` RPC method that instructs the client to not wait for the
closing transaction to be negotiated. This should be used if you don't care
about the txid and don't want the calling code to block while the channel
drains the active HTLCs.

## lncli Additions

* Deprecate `bumpclosefee` for `bumpforceclosefee` to accommodate for the fact
Expand Down
5 changes: 3 additions & 2 deletions peer/brontide.go
Original file line number Diff line number Diff line change
Expand Up @@ -3636,12 +3636,13 @@ func (p *Brontide) handleCloseMsg(msg *closeMsg) {
oShutdown.WhenSome(func(msg lnwire.Shutdown) {
// if the link is nil it means we can immediately queue
// the Shutdown message since we don't have to wait for
// commitment transaction synchronization
// commitment transaction synchronization.
if link == nil {
p.queueMsg(typed, nil)
return
}
// When we have a Shutdown to send, we defer it til the

// When we have a Shutdown to send, we defer it till the
// next time we send a CommitSig to remain spec
// compliant.
link.OnCommitOnce(htlcswitch.Outgoing, func() {
Expand Down

0 comments on commit 69ef1b2

Please sign in to comment.