LND v0.20.0-beta Release Candidate #10275
saubyk
announced in
Announcements
Replies: 1 comment 1 reply
-
So using postgres will be a requirement for LND v0.20-0? No way to continue using bbolt if it is a small node with only a few channels? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Everyone,
The first release candidate for the upcoming LND v0.20.0 has been published. This is largely a technical update where we continue on our journey to update LND's data stores to native SQL schema, improving LND’s startup and operational performance. We do expect a few rounds of RCs to iron out potential issues found during testing. Please test this release on your testing nodes.
The release can be found here:
https://github.com/lightningnetwork/lnd/releases/tag/v0.20.0-beta.rc1
The detailed release notes are available at:
https://github.com/lightningnetwork/lnd/blob/master/docs/release-notes/release-notes-0.20.0.md
Below are some of the release highlights:
Migration of Graph store to SQL
This version introduces a significant architectural change by implementing and migrating the internal graph database structure to a new SQL backend. The previous key-value database (kvdb) store used for managing the network graph is replaced with a more abstract and standardized SQL implementation.
The move to SQL involves defining new schemas, queries, and Create, Read, Update, and Delete (CRUD) operations. The internal data structures migrated from the kv format to the new SQL format include:
For this migration to take place users node must have the db backed on either
postgres
orsqlite
and the--db.use-native-sql flag
must be set in the config. The migration will execute automatically once the node is started with these configurations.In case you haven’t migrated your node from
bbolt
db yet, you can use the lndinit tool to migrate your node frombbolt
tosqlite
orpostgres
and then perform the above migration.Other notable improvements
Functional improvements
gossip.msg-rate-bytes
has been increased from 100KB to 1 MB, andgossip.msg-burst-bytes
has been increased from 200KB to 2 MB. This helps in improving the efficiency and speed at which your node can propagate critical network information, like channel and node announcements. This enhancement is intended to alleviate potential bottlenecks in message dissemination, leading to faster network synchronization.PendingChannel
rpc now provides the number of confirmations until channel is active and the blockheight at which funding transaction was first confirmed in the api response. This can be a useful datapoint to display in the user interfaces to let the users know how soon the channel can become active after opening.UpdateNodeAnnouncement
rpc would be cleared when the node restarted, requiring users to issue a new command to restore them.Rpc additions
deletecanceledinvoices
rpc to allow for the removal of a canceled invoice from the data store. This rpc supports deleting a canceled invoice by providing a payment hashForwardingHistory
rpc now supports filtering by incoming and outgoing channel ids. This allows retrieval of events for specific channels.Lncli enhancements
lncli addinvoice –blind
command now has the option to specify incoming channels on the blinded path. This enhancement provides users with an extra liquidity control lever, allowing them to force a sender to pay over a specific channel. With this change users gain better control over payment success probability and the liquidity distribution available on their node.lncli sendpayment
andlncli queryroutes
now support --route_hints flag to support routing through unannounced channels.There are a lot of other bug fixes and minor updates which can be tracked via the release notes linked above. Reports of issues found during testing will be highly appreciated 🫂
Thanks
Beta Was this translation helpful? Give feedback.
All reactions