Changelog2023

Liana 2.0

A Bitcoin Core node that Liana downloads, verifies and runs for you, and an xpub that can be reused across spending paths.

Version 2.0Assets and signatures on GitHub
The sardine witch rams a big power plug into a grey Bitcoin node tower with her wand, sparks flying, while a chain of blocks marked with the bitcoin sign drops into a slot on top of the node.
Liana 2.0 can download, start and stop Bitcoin Core for you.

Upgrading

Liana 1.0 and 1.1 may not accept a descriptor created with 2.0, because 2.0 can place the same xpub in more than one spending path at different derivation paths. Read Breaking changes before you create a descriptor for a shared wallet.

2.0 also migrates the wallet database. The migration is one-way, so 1.0 and 1.1 refuse a database that 2.0 has opened. Copy your data directory somewhere safe before you install it.

Verify your download before you install it.

Breaking changes

  • What changed: A descriptor created with Liana 2.0 may not be backward compatible with Liana 1.0 and 1.1.
  • What you need to do: Upgrade every participant of a shared wallet to 2.0 before you create a descriptor with it. Do not expect a 1.0 or 1.1 install to open it.

Features

Liana

  • Made it possible to reuse an xpub within a descriptor, so long as it uses a different derivation path.
  • Added RPC commands to update and query the labels of txids, addresses and outpoints.
  • Made the RPC connection to bitcoind more reliable.
  • Started distributing packages for Debian-based and Arch-based Linux distributions.
  • Added a guide on recovering a Liana wallet backup with Bitcoin Core.
  • Added an example configuration file for running lianad.
  • Worked around the use of prefixed paths on Windows. This brings the watch-only wallet back to the same location as on other operating systems, under Liana's own data directory.
Liana descriptor creation with the keys Me and Partner 1 in the 2-of-2 primary path and again, with Partner 2, in the 2-of-3 recovery path
The same key now appears in both spending paths at different derivation paths, instead of the signer having to produce a second xpub.

Liana GUI

  • Improved the flow for creating a descriptor where a signer appears in more than one spending path.
  • Added optional management of bitcoind (download, start and stop) from the graphical interface.
Step 4 of the Liana installer, offering a choice between connecting to your own Bitcoin Core node and letting Liana run a dedicated pruned one
Selecting the managed node makes Liana download Bitcoin Core, verify it, and start and stop it alongside the wallet. The initial block download still has to happen.

Fixes

Liana

  • Stopped the Bitcoin backend poller more gracefully while the blockchain is still syncing, which previously looked like a hang and could freeze the GUI.
  • Fixed the handling of conflicting unconfirmed spend transactions (RBFs).
  • Fixed the wallet missing a payment received directly through a coinbase transaction output.
  • Treated immature coinbase deposits as unspendable, otherwise handling them like unconfirmed coins.
  • Told bitcoind to load the watch-only wallet on startup. Not loading it could leave bitcoind unable to load it without reindexing the blockchain, under an aggressive pruning configuration.
  • Made lianad print a more helpful message when it fails to start, with a link to the new example configuration file.

Liana GUI

  • Checked the network of xpubs when importing a descriptor.
  • Fixed the GUI sometimes failing to connect to the Specter DIY signing device.
  • Made clear that registering the descriptor on a signing device is not necessary when none was used.
  • Fixed the GUI appearing to hang during shutdown.

Contributors

@jp1ac4 contributed the managed Bitcoin Core node. Thanks to @pythcoiner for his testing, for supporting users, and for the guide to recovering a Liana wallet backup with nothing but Bitcoin Core 25.0.