5.6 KiB
Release Notes
BOLT Specs
- Warning messages from peers are now recognized and logged by lnd.
RPC
The RegisterConfirmationsNtfn
call of the chainnotifier
RPC sub-server now
optionally supports returning the entire block that confirmed the
transaction.
-
Add
macaroon_root_key
field toInitWalletRequest
to allow specifying a root key for macaroons during wallet init rather than having lnd randomly generate one for you. -
A new
SignedInputs
field is added toSignPsbtResponse
that returns the indices of inputs that were signed by our wallet. Prior to this changeSignPsbt
didn't indicate whether the Psbt held any inputs for our wallet to sign. -
Add TrackPayments method to the RPC to allow subscribing to updates from any inflight payment. Similar to TrackPaymentV2, but for any inflight payment.
-
Catch and throw an error during
openchannel
if the local funding amount given is zero.
Wallet
- Allows Taproot public keys and tap scripts to be imported as watch-only addresses into the internal wallet. NOTE that funding PSBTs from imported tap scripts is not currently possible.
Build
The project has updated to Go 1.19! Go 1.18 is now the minimum version needed to build the project.
Misc
-
Fixed a bug where the Switch did not reforward settles or fails for waiting-close channels
-
Fixed a flake in the TestChannelLinkCancelFullCommitment unit test.
-
The macaroon key store implementation was refactored to be more generally usable.
-
Fixed a bug where cookie authentication with Tor would fail if the cookie path contained spaces. With the module updated,
lnd
now parses Tor control port messages correctly. -
Add option to encrypt Tor private key, and update the Tor module to pave the way for this functionality.
lncli
-
Add an
insecure
flag to skip tls auth as well as ametadata
string slice flag that allows the caller to specify key-value string pairs that should be appended to the outgoing context. -
Fix command line argument parsing for
lncli sendpayment
. -
Fix mapslice cap out of range error that occurs if the number of profiles is zero.
-
A new config option,
batchwindowduration
has been added tosweeper
to allow customize sweeper batch duration. -
Add
base_fee_msat
andfee_rate_ppm
flags toopenchannel
requests so that the user can specify fees during channel creation time in addition to the default configuration.
Code Health
Watchtowers
-
Create a towerID-to-sessionID index in the wtclient DB to improve the speed of listing sessions for a particular tower ID. This PR also ensures a closer coupling of Towers and Sessions and ensures that a session cannot be added if the tower it is referring to does not exist.
Tooling and documentation
-
Tests in
htlcswitch
will now clean up the temporary resources they create. -
Updated the github actions to use
make fmt-check
in its build process. -
Database related code was refactored to allow external tools to use it more easily, in preparation for adding a data migration functionality to
lndinit
.
Contributors (Alphabetical Order)
- Carla Kirk-Cohen
- cutiful
- Daniel McNally
- Elle Mouton
- ErikEk
- Eugene Siegel
- Graham Krizek
- hieblmi
- Jesse de Wit
- Matt Morehouse
- Olaoluwa Osuntokun
- Oliver Gugger
- Priyansh Rastogi