# Release Notes ## Remote signing The [remote signing](../remote-signing.md) setup was simplified in that the signing node now [does not need to be hooked up to its own chain backend](https://github.com/lightningnetwork/lnd/pull/6006). A new mock chain backend can be specified with `--bitcoin.node=nochainbackend`. That way a wallet will be created and all signing RPCs work but the node will not look at any chain data. It can therefore be fully offline except for a single incoming gRPC connection from the watch-only node. ## Wallet * A bug that prevented opening anchor-based channels from external wallets when the internal wallet was empty even though the transaction contained a sufficiently large output belonging to the internal wallet [was fixed](https://github.com/lightningnetwork/lnd/pull/5539). In other words, freshly-installed LND can now be initialized with multiple channels from an external (e.g. hardware) wallet *in a single transaction*. * A bug that allowed fees to be up to 100% of the payment amount was fixed by [introducing a more sane default value](https://github.com/lightningnetwork/lnd/pull/6226) of 5% routing fees (except for small amounts <= [1k satoshis](https://github.com/lightningnetwork/lnd/pull/6234) where the 100% routing fees are kept to accommodate for the base fee in channels). To avoid falling back to a default value, users should always set their own fee limits by using the `--fee_limit` or `--fee_limit_percent` flags on the `lncli payinvoice`, `lncli sendpayment` and `lncli queryroutes` commands. Users of the gRPC or REST API should set the `fee_limit` field on the corresponding calls (`SendPayment`, `SendPaymentSync`, `QueryRoutes`). ## Database * [Speed up graph cache loading on startup with Postgres](https://github.com/lightningnetwork/lnd/pull/6111) ## Build System * [Clean up Makefile by using go install](https://github.com/lightningnetwork/lnd/pull/6035). * [Make etcd max message size configurable](https://github.com/lightningnetwork/lnd/pull/6049). * [Export bitcoind port and other values for itests, useful for using itest harness outside of lnd](https://github.com/lightningnetwork/lnd/pull/6050). * [Export `lntest` base node config so it can be re-used in LiT integration tests](https://github.com/lightningnetwork/lnd/pull/6139). ## Bug fixes * [A new resolver for breach closes was introduced that handles sweeping anchor outputs and failing back HTLCs.](https://github.com/lightningnetwork/lnd/pull/6158) * [Return the nearest known fee rate when a given conf target cannot be found from Web API fee estimator.](https://github.com/lightningnetwork/lnd/pull/6062) * [We now _always_ set a channel type if the other party signals the feature bit](https://github.com/lightningnetwork/lnd/pull/6075). * [Add `--json` flag to `trackpayment`](https://github.com/lightningnetwork/lnd/pull/6060). * [Clarify invalid config timeout constraints](https://github.com/lightningnetwork/lnd/pull/6073). * [Fix memory corruption in Mission Control Store](https://github.com/lightningnetwork/lnd/pull/6068) * [Ensure that the min relay fee is always clamped by our fee floor](https://github.com/lightningnetwork/lnd/pull/6076) * [Clarify log message about not running within systemd](https://github.com/lightningnetwork/lnd/pull/6096) * [Fix Postgres context cancellation](https://github.com/lightningnetwork/lnd/pull/6108) * A conflict was found in connecting peers, where the peer bootstrapping process and persistent connection could compete connection for a peer that led to an already made connection being lost. [This is now fixed so that bootstrapping will always ignore the peers chosen by the persistent connection.](https://github.com/lightningnetwork/lnd/pull/6082) * [Fix Postgres itests max connections](https://github.com/lightningnetwork/lnd/pull/6116) * [Fix duplicate db connection close](https://github.com/lightningnetwork/lnd/pull/6140) * [Fix a memory leak introduced by the new ping-header p2p enhancement](https://github.com/lightningnetwork/lnd/pull/6144) * [Fix an issue that would prevent very old nodes from starting up due to lack of a historical channel bucket](https://github.com/lightningnetwork/lnd/pull/6159) * [Fixes a bug that would cause incorrect rounding when translating a decimal fee rate to ppm](https://github.com/lightningnetwork/lnd/pull/6200) ## RPC Server * [ChanStatusFlags is now exposed](https://github.com/lightningnetwork/lnd/pull/5971) inside WaitingCloseResp from calling `PendingChannels`. * [Fix missing label on streamed transactions](https://github.com/lightningnetwork/lnd/pull/5854). * [The `fee_rate_ppm` parameter/argument was added to update channel policy](https://github.com/lightningnetwork/lnd/pull/5711) to prevent truncation error with tiny fee rates. * [Closing txid is now exposed](https://github.com/lightningnetwork/lnd/pull/6146) inside WaitingCloseResp from calling `PendingChannels`. * [CustomCaveatCondition is now properly set](https://github.com/lightningnetwork/lnd/pull/6185) on `RPCMiddlewareRequest` messages. * [Adds a new FeeRatePpm to the UpdateChanPolicy call to allow fee rate expression in the native protocol unit](https://github.com/lightningnetwork/lnd/pull/6200) ## Routing * [Enable forced update of MC pair history](https://github.com/lightningnetwork/lnd/pull/6180) by adding the `force` flag to the `XImportMissionControl` RPC call. ## Documentation * [General improvements to the mobile documentation](https://github.com/lightningnetwork/lnd/pull/6181). # Contributors (Alphabetical Order) * Andras Banki-Horvath * Andreas Schjønhaug * Bjarne Magnussen * Daniel McNally * Elle Mouton * Erik Ek * Harsha Goli * Joost Jager * Martin Habovštiak * Naveen Srinivasan * Oliver Gugger * Olaoluwa Osuntokun * Yong Yu