Changelog2023

Liana 0.2

Multisig in either spending path, and extended keys in a descriptor must now carry an origin.

Version 0.2Assets and signatures on GitHub
The sardine witch swoops toward a round vault door and casts a spell that splits in two, turning both giant keys of its double lock at the same time.
Liana 0.2 adds multisig, so the primary path and the recovery path can each hold several keys.

Upgrading

Liana 0.2 requires every extended key in a descriptor to carry an origin. A wallet created with 0.1 from an xpub you pasted, rather than read from a signing device, may therefore need its descriptor migrated before it opens. Upstream expects this to affect test configurations almost exclusively, since a signing device prepends an origin of its own. See Breaking changes.

Verify your download before you install it.

Breaking changes

  • What changed: Liana no longer accepts an extended key without an origin in a descriptor. The first version accepted them by mistake. A signing device needs the origin to sign, so unless that key was the master extended key of a chain, no device could ever sign for it.
  • What you need to do: Read your descriptor and look for an xpub without an origin prefix of the form [a1b2c3d4]. If you find one, migrate the descriptor to a version that carries the origin before you open the wallet with 0.2. An xpub gathered from a signing device already has one.

Features

Liana

  • Added support for descriptors with several keys in both the primary spending path and the timelocked recovery path.
Liana installer with a 2-of-3 primary path between Karen, Kyle and Kenny, and a 1-of-3 recovery path between the same three keys after 52,560 blocks
A multisig that loosens once a coin has not moved for 52,560 blocks (about 1 year).
Liana installer with a single primary key and a 2-of-3 recovery path held by three outside key holders after 52,560 blocks
A recovery path spread across three outside key holders, so no single one of them can recover on its own.
Liana installer with a 2-of-2 primary path between an employee and a cosigner, and a single backup key on the recovery path after 26,280 blocks
A cosigner enforcing a spending policy, with a backup key that only becomes usable after 26,280 blocks (about 6 months).

Liana GUI

  • Added import and update of Spend transaction drafts as PSBTs, so several people can create and sign a transaction together.
  • Added an alias for each key when creating a new descriptor, shown when inspecting a transaction's signatories.
  • Displayed amounts with the sats in bold.

Fixes

Liana

  • Removed the fixed interpreter and rpath set by Guix reproducible builds from the liana-cli ELF binary.
  • Checked the bitcoind version before trying to import a Miniscript descriptor.
  • Discarded unconfirmed incoming payments that had been dropped from the mempool.

Liana GUI

  • Fixed various wording on the interface.
  • Updated amounts when moving between steps in the Spend creation flow.
  • Sorted coins by age when displayed as a list.
  • Fixed some flakiness in the connection to a signing device.
  • Made the descriptor registration step in the installer clearer.