# Core Lightning v23.02: "CBDC Backing Layer"

Source URL: https://blog.blockstream.com/core-lightning-23-02
Updated: 2026-11-19T19:29:07.000Z
Author: Alex Myers
Published: Mar 2, 2023
Category: Lightning Network

---

Today, we welcome the latest Core Lightning release, [v23.02](https://github.com/ElementsProject/lightning/releases), codenamed _CBDC Backing Layer_ (courtesy of Matt Whitlock). The February 2023 release has some exciting features in store for CLN users, including:

**SQL plugin:** Running complex queries from a remote client is now easier than ever with this new plugin.

**Performance improvements:** Common operations and pain points for large nodes have both been improved with a new RPC: `listpeerchannels`, and the "100K channels" performance optimization project.

**Spec updates:** Dual funding ([liquidity ads](https://blog.blockstream.com/lightnings-missing-piece-a-decentralized-liquidity-market)) and offers ([BOLT12](http://bolt12.org/)) are both undergoing development and compatibility testing by additional Lightning implementations. This collaborative testing has informed and updated the draft specifications, bringing them closer to adoption. Core Lightning has updated the dual funding and offers features to reflect these changes.  
  
For a detailed list of all changes in v23.02, review the [changelog](https://github.com/ElementsProject/lightning/blob/master/CHANGELOG.md), which contains many more features, performance improvements, bug fixes, and deprecations.

## **Unleash the Developers**

The Lightning Network has grown dramatically over the last five years and new features are added regularly. One of the biggest requests of UI developers is more performant access to fine-grained data. To that end, the SQL plugin now offers custom queries of many CLN database tables:

 Bookkeeper Account Events  
 Bookkeeper Income  
 Channels  
 Forwards  
 HTLCS  
 Invoices  
 Nodes  
 Offers  
 Peer Channels  
 Peers  
 Sendpays  
 Transactions

For instance, finding all nodes supporting liquidity ads and sorting by contribution or liquidity rate may now be done in a single direct query. Pairing this feature with the `commando` plugin allows remote access to a wide variety of data while allowing the Lightning node to perform all filtering and return only the desired data.

The documentation features several examples to get started:

```sh
$ lightning-cli sql -o "SELECT nodeid, alias, nodes_addresses.type, nodes_addresses.port, nodes_addresses.address FROM nodes INNER JOIN nodes_addresses ON nodes_addresses.row = nodes.rowid"
{
	"rows": [
		[
		"02ba9965e3db660385bd1dd2c09dd032e0f2179a94fc5db8917b60adf0b363da00",
        "YELLOWWATCH-22.11rc2-31-gcd7593b",
		"dns",
		7272,
		"localhost"
		],
        [
        "0214739d625944f8fdc0da9d2ef44dbd7af58443685e494117b51410c5c3ff973a",
		"HOPPINGSQUIRREL-1rc2-31-gcd7593b",
		"dns",
		7171,
		"localhost"
		]
	]
}
```

See `man lightning-sql` for full documentation of supported tables and SQLfunctions.

## **100K Peers Project**

Core Lightning power users have identified pain points related to node startup and peer connection when numerous peers and channels are involved. To address these issues, [Rusty Russell](https://twitter.com/rusty%5Ftwit) performed a test taken to the logical extreme: 100K peers connected to a single node! The offending linked lists were identified and banished. The result is a significant performance improvement for larger CLN nodes during startup, reconnection, and the `listpeers` RPC call.

## **Take it Mainstream**

Two experimental features introduced by Core Lightning are finally nearing specification adoption. Both dual funding and offers (BOLT12) are undergoing interoperability testing.

To recap, the Lightning Network adopts features into the specification by a process of:

1) Proposal of the feature with a draft spec.

2) Demonstration of the feature in a Lightning implementation (i.e., Core Lightning).

3) Interoperability testing by another implementation, which identifies any missing documentation in the spec and generally produces an improved result.

4) Merging the updated proposal into the Lightning BOLTs and gaining cross-implementation interoperability.

We are pleased to see both offers and dual funding in the interoperability testing stage. This has also resulted in breaking changes in both cases. (You are still waiting to get that offers tattoo, right?) While this will cause some temporary pain as CLN experimental nodes update to the latest release, it means we are nearly ready for ratification of these features and wider adoption across the network.

## **Join the CLN Community**

We want to give a shoutout to all the contributors (31 for the [v23.02](https://github.com/ElementsProject/lightning/releases) release) who continue to help us improve CLN with every update. We are grateful for your continued support, and the new release would not have been possible without your astute attention to detail and feedback. We now have special [CLN contributors](https://community.corelightning.org/c/contributors/) and [node runner](https://community.corelightning.org/c/node-operators/) pages on the new [Build On L2 community platform](https://community.corelightning.org/home) to help facilitate discussion better. It is free to sign up, and nyms are more than welcome!

Also, as always, let us know what you like or what we could improve by starting a thread there or by commenting via our regular social channels: [Twitter](https://twitter.com/Core%5FLN), [Telegram](https://t.me/lightningd), or [Discord](https://discord.com/invite/URsCkusx53).

## Blog Categories

- [All Posts](https://blog.blockstream.com/)
- [Blockstream Finance](https://blog.blockstream.com/blockstream-finance)
- [Company](https://blog.blockstream.com/company)
- [Lightning Network](https://blog.blockstream.com/lightning-network)
- [Blockstream Mining](https://blog.blockstream.com/blockstream-mining)
- [Blockstream Explorer](https://blog.blockstream.com/blockstream-explorer)
- [Blockstream Satellite](https://blog.blockstream.com/blockstream-satellite)
- [Liquid Network](https://blog.blockstream.com/liquid-network)
- [Blockstream Jade](https://blog.blockstream.com/blockstream-jade)
- [Blockstream AMP](https://blog.blockstream.com/blockstream-amp)
- [Blockstream App](https://blog.blockstream.com/blockstream-app)
- [Blockstream Research](https://blog.blockstream.com/blockstream-research)
- [Cryptocurrency Data Feed](https://blog.blockstream.com/cryptocurrency-data-feed)
- [Elements](https://blog.blockstream.com/elements)
- [Layer-2 Roundup](https://blog.blockstream.com/layer-2-roundup)
- [Quarterly Report](https://blog.blockstream.com/quarterly-report)
- [Layer-2 Report](https://blog.blockstream.com/layer-2-report)
- [Simplicity Language](https://blog.blockstream.com/simplicity-language)
- [Quarterly Update](https://blog.blockstream.com/quarterly-update)
- [Quantum](https://blog.blockstream.com/quantum)
- [Enterprise](https://blog.blockstream.com/enterprise)
- [Insights](https://blog.blockstream.com/insights)
- [Simplicity](https://blog.blockstream.com/simplicity)
- [Developer](https://blog.blockstream.com/developer)
- [Security](https://blog.blockstream.com/security)
- [Jade](https://blog.blockstream.com/jade)
- [Liquid](https://blog.blockstream.com/liquid)
- [Lightning](https://blog.blockstream.com/lightning)
- [Research](https://blog.blockstream.com/research)
- [Core Lightning](https://blog.blockstream.com/core-lightning)
