Merge #870: Prepare v4 release

6625e67eed37ba385223dab6256478c312a190dc CHANGELOG: release notes for v4 (Antoine Poinsot)
35e50b4f383652b3cc7929a93e2dd5737fa74118 Bump lianad version to 4.0 (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 6625e67eed37ba385223dab6256478c312a190dc

Tree-SHA512: 2fd3492578ab1bd92c9249b1a4f5bb6134fac6b86febc1bffb33edc184bcbd30aad8554d5e3cb3bb5640ffe8b51c78d7839e1913c126edc5d6de0043c0d54a51
This commit is contained in:
Antoine Poinsot 2023-12-12 18:32:46 +01:00
commit 87d1c55d2e
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304
5 changed files with 46 additions and 4 deletions

View File

@ -1,5 +1,47 @@
# Liana daemon and GUI release notes
## 4.0
This release introduces support for bumping the fees of a transaction, verifying a deposit address
on your signing device, and more.
### Features
- The `outpoints` parameter of the `createspend` command is now optional. If not provided, we'll
select coins automatically.
- A new `listaddresses` command was introduced.
- A new `rbfpsbt` command was introduced.
- The `createspend` command has a new, optional, `change_address` parameter. This makes it possible
to create a transaction which sweeps all funds from the wallet.
#### GUI-specific
- When creating a Spend transaction, coins to be spent are now pre-selected. The selection is
updated as you update the recipients and/or the feerate. The selection will stop being modified if
you change it manually.
- It is now possible to verify deposit addresses on your signing device.
- You can now bump the fees of an unconfirmed transaction. A "bump fee" button was introduced in the
transaction details (available from the list of transactions).
- You can now "cancel" an unconfirmed transaction. A "cancel" button was introduced in the
transaction details (available from the list of transactions). NOTE: the cancel feature is not
guaranteed to work. It's simply leveraging RBF to double spend the outgoing transaction with a
transaction paying back to ourselves.
- You can now delete a wallet for a specific network from the launcher.
- When selecting a signing device, those which are not related to the wallet or which don't support
a specific method (such as displaying an address) are now greyed-out.
- The managed Bitcoin Core version was bumped to 26.0.
### Fixes
- In case a transaction spending one of our coins was RBF'd, we could incorrectly assign an
incorrect spending transaction to this coin.
#### GUI-specific
- Setting a feerate larger than `2^64` when creating a Spend would previously crash the software.
- When displaying a PSBT the software could crash if some of the inputs of the transaction
disappeared (were double-spent).
## 3.0
This release introduces support for the BitBox02 signing device, as well as the possibility to label

2
Cargo.lock generated
View File

@ -229,7 +229,7 @@ dependencies = [
[[package]]
name = "liana"
version = "2.0.0"
version = "4.0.0"
dependencies = [
"backtrace",
"bdk_coin_select",

View File

@ -1,6 +1,6 @@
[package]
name = "liana"
version = "2.0.0"
version = "4.0.0"
authors = ["Antoine Poinsot <darosior@protonmail.com>"]
edition = "2018"
repository = "https://github.com/wizardsardine/liana"

View File

@ -79,7 +79,7 @@ impl fmt::Display for Version {
}
pub const VERSION: Version = Version {
major: 2,
major: 4,
minor: 0,
patch: 0,
};

View File

@ -22,7 +22,7 @@ from test_framework.utils import (
def test_getinfo(lianad):
res = lianad.rpc.getinfo()
assert res["version"] == "2.0.0-dev"
assert res["version"] == "4.0.0-dev"
assert res["network"] == "regtest"
wait_for(lambda: lianad.rpc.getinfo()["block_height"] == 101)
res = lianad.rpc.getinfo()