Skip to content

Commit 771bc99

Browse files
authored
Merge pull request #7196 from guggero/v0-15-5-branch-rc2
release: create v0.15.5-rc2 release branch
2 parents 1d3e51e + cc07f66 commit 771bc99

File tree

13 files changed

+504
-454
lines changed

13 files changed

+504
-454
lines changed

build/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const (
4848

4949
// AppPreRelease MUST only contain characters from semanticAlphabet
5050
// per the semantic versioning spec.
51-
AppPreRelease = "beta.rc1"
51+
AppPreRelease = "beta.rc2"
5252
)
5353

5454
func init() {

config_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ func waitForWalletPassword(cfg *Config,
10181018
"signer config disabled")
10191019
}
10201020

1021-
birthday = initMsg.ExtendedKeyBirthday
1021+
birthday = initMsg.WatchOnlyBirthday
10221022
newWallet, err = loader.CreateNewWatchingOnlyWallet(
10231023
password, birthday,
10241024
)

docs/release-notes/release-notes-0.15.5.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,22 @@
55
* [A Taproot related key tweak issue was fixed in `btcd` that affected remote
66
signing setups](https://github.com/lightningnetwork/lnd/pull/7130).
77

8-
* [Sleep for one second when funding locked message is not
9-
received](https://github.com/lightningnetwork/lnd/pull/7095) to avoid CPU
10-
spike.
8+
* [Taproot changes addresses are now used by default for the `SendCoins`
9+
RPC](https://github.com/lightningnetwork/lnd/pull/7193).
10+
11+
* [A 1 second interval has been added between `FundingLocked` receipt
12+
checks](https://github.com/lightningnetwork/lnd/pull/7095). This reduces idle
13+
CPU usage for pending/dangling funding attempts.
14+
15+
* [The wallet birthday is now used properly when creating a watch-only wallet
16+
to avoid scanning the whole
17+
chain](https://github.com/lightningnetwork/lnd/pull/7056).
18+
19+
* Taproot outputs are now correctly shown as `SCRIPT_TYPE_WITNESS_V1_TAPROOT` in
20+
the output of `GetTransactions` (`lncli listchaintxns`).
1121

1222
# Contributors (Alphabetical Order)
1323

24+
* Olaoluwa Osuntokun
1425
* Oliver Gugger
1526
* Yong Yu

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ require (
55
github.com/Yawning/aez v0.0.0-20211027044916-e49e68abd344
66
github.com/btcsuite/btcd v0.23.4
77
github.com/btcsuite/btcd/btcec/v2 v2.2.2
8-
github.com/btcsuite/btcd/btcutil v1.1.2
8+
github.com/btcsuite/btcd/btcutil v1.1.3
99
github.com/btcsuite/btcd/btcutil/psbt v1.1.5
1010
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
1111
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f
12-
github.com/btcsuite/btcwallet v0.16.2-0.20221109224534-84bf4e34c816
12+
github.com/btcsuite/btcwallet v0.16.5
1313
github.com/btcsuite/btcwallet/wallet/txauthor v1.3.2
1414
github.com/btcsuite/btcwallet/wallet/txrules v1.2.0
1515
github.com/btcsuite/btcwallet/walletdb v1.4.0

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ github.com/btcsuite/btcd/btcec/v2 v2.2.2/go.mod h1:9/CSmJxmuvqzX9Wh2fXMWToLOHhPd
8787
github.com/btcsuite/btcd/btcutil v1.0.0/go.mod h1:Uoxwv0pqYWhD//tfTiipkxNfdhG9UrLwaeswfjfdF0A=
8888
github.com/btcsuite/btcd/btcutil v1.1.0/go.mod h1:5OapHB7A2hBBWLm48mmw4MOHNJCcUBTwmWH/0Jn8VHE=
8989
github.com/btcsuite/btcd/btcutil v1.1.1/go.mod h1:nbKlBMNm9FGsdvKvu0essceubPiAcI57pYBNnsLAa34=
90-
github.com/btcsuite/btcd/btcutil v1.1.2 h1:XLMbX8JQEiwMcYft2EGi8zPUkoa0abKIU6/BJSRsjzQ=
91-
github.com/btcsuite/btcd/btcutil v1.1.2/go.mod h1:UR7dsSJzJUfMmFiiLlIrMq1lS9jh9EdCV7FStZSnpi0=
90+
github.com/btcsuite/btcd/btcutil v1.1.3 h1:xfbtw8lwpp0G6NwSHb+UE67ryTFHJAiNuipusjXSohQ=
91+
github.com/btcsuite/btcd/btcutil v1.1.3/go.mod h1:UR7dsSJzJUfMmFiiLlIrMq1lS9jh9EdCV7FStZSnpi0=
9292
github.com/btcsuite/btcd/btcutil/psbt v1.1.4/go.mod h1:9AyU6EQVJ9Iw9zPyNT1lcdHd6cnEZdno5wLu5FY74os=
9393
github.com/btcsuite/btcd/btcutil/psbt v1.1.5 h1:x0ZRrYY8j75ThV6xBz86CkYAG82F5bzay4H5D1c8b/U=
9494
github.com/btcsuite/btcd/btcutil/psbt v1.1.5/go.mod h1:kA6FLH/JfUx++j9pYU0pyu+Z8XGBQuuTmuKYUf6q7/U=
@@ -98,8 +98,8 @@ github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtyd
9898
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f h1:bAs4lUbRJpnnkd9VhRV3jjAVU7DJVjMaK+IsvSeZvFo=
9999
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA=
100100
github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg=
101-
github.com/btcsuite/btcwallet v0.16.2-0.20221109224534-84bf4e34c816 h1:t4wbkXekvTc1eOGDv2h8l6mkLPnqP93hnRHvNtgpiHQ=
102-
github.com/btcsuite/btcwallet v0.16.2-0.20221109224534-84bf4e34c816/go.mod h1:d8AETQyIIWTtC9CnoCMBmDARp9P65oX4IoBdEP3fDK4=
101+
github.com/btcsuite/btcwallet v0.16.5 h1:4DTJ5aYAJomcR0jAb6JP8D0wNSxfz4H7WN/RBtNZY4o=
102+
github.com/btcsuite/btcwallet v0.16.5/go.mod h1:mM19pFB3lGVxOL+kvHhHZAhdSWXKsZGiHvpJVvxL0D8=
103103
github.com/btcsuite/btcwallet/wallet/txauthor v1.2.3/go.mod h1:T2xSiKGpUkSLCh68aF+FMXmKK9mFqNdHl9VaqOr+JjU=
104104
github.com/btcsuite/btcwallet/wallet/txauthor v1.3.2 h1:etuLgGEojecsDOYTII8rYiGHjGyV5xTqsXi+ZQ715UU=
105105
github.com/btcsuite/btcwallet/wallet/txauthor v1.3.2/go.mod h1:Zpk/LOb2sKqwP2lmHjaZT9AdaKsHPSbNLm2Uql5IQ/0=

lnrpc/lightning.pb.go

Lines changed: 417 additions & 412 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lnrpc/lightning.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ enum OutputScriptType {
637637
SCRIPT_TYPE_NULLDATA = 6;
638638
SCRIPT_TYPE_NON_STANDARD = 7;
639639
SCRIPT_TYPE_WITNESS_UNKNOWN = 8;
640+
SCRIPT_TYPE_WITNESS_V1_TAPROOT = 9;
640641
}
641642

642643
message OutputDetail {

lnrpc/lightning.swagger.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5746,7 +5746,8 @@
57465746
"SCRIPT_TYPE_MULTISIG",
57475747
"SCRIPT_TYPE_NULLDATA",
57485748
"SCRIPT_TYPE_NON_STANDARD",
5749-
"SCRIPT_TYPE_WITNESS_UNKNOWN"
5749+
"SCRIPT_TYPE_WITNESS_UNKNOWN",
5750+
"SCRIPT_TYPE_WITNESS_V1_TAPROOT"
57505751
],
57515752
"default": "SCRIPT_TYPE_PUBKEY_HASH"
57525753
},

lnrpc/marshall_utils.go

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,28 +147,29 @@ func MarshalUtxos(utxos []*lnwallet.Utxo, activeNetParams *chaincfg.Params) (
147147

148148
// MarshallOutputType translates a txscript.ScriptClass into a
149149
// lnrpc.OutputScriptType.
150-
func MarshallOutputType(o txscript.ScriptClass) (ret OutputScriptType) {
150+
func MarshallOutputType(o txscript.ScriptClass) OutputScriptType {
151151
// Translate txscript ScriptClass type to the proper gRPC proto
152152
// output script type.
153153
switch o {
154154
case txscript.PubKeyHashTy:
155-
ret = OutputScriptType_SCRIPT_TYPE_PUBKEY_HASH
155+
return OutputScriptType_SCRIPT_TYPE_PUBKEY_HASH
156156
case txscript.ScriptHashTy:
157-
ret = OutputScriptType_SCRIPT_TYPE_SCRIPT_HASH
157+
return OutputScriptType_SCRIPT_TYPE_SCRIPT_HASH
158158
case txscript.WitnessV0PubKeyHashTy:
159-
ret = OutputScriptType_SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH
159+
return OutputScriptType_SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH
160160
case txscript.WitnessV0ScriptHashTy:
161-
ret = OutputScriptType_SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH
161+
return OutputScriptType_SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH
162162
case txscript.PubKeyTy:
163-
ret = OutputScriptType_SCRIPT_TYPE_PUBKEY
163+
return OutputScriptType_SCRIPT_TYPE_PUBKEY
164164
case txscript.MultiSigTy:
165-
ret = OutputScriptType_SCRIPT_TYPE_MULTISIG
165+
return OutputScriptType_SCRIPT_TYPE_MULTISIG
166166
case txscript.NullDataTy:
167-
ret = OutputScriptType_SCRIPT_TYPE_NULLDATA
167+
return OutputScriptType_SCRIPT_TYPE_NULLDATA
168168
case txscript.NonStandardTy:
169-
ret = OutputScriptType_SCRIPT_TYPE_NON_STANDARD
170-
case txscript.WitnessUnknownTy:
171-
ret = OutputScriptType_SCRIPT_TYPE_WITNESS_UNKNOWN
169+
return OutputScriptType_SCRIPT_TYPE_NON_STANDARD
170+
case txscript.WitnessV1TaprootTy:
171+
return OutputScriptType_SCRIPT_TYPE_WITNESS_V1_TAPROOT
172+
default:
173+
return OutputScriptType_SCRIPT_TYPE_WITNESS_UNKNOWN
172174
}
173-
return
174175
}

lnrpc/walletrpc/walletkit.swagger.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,8 @@
798798
"SCRIPT_TYPE_MULTISIG",
799799
"SCRIPT_TYPE_NULLDATA",
800800
"SCRIPT_TYPE_NON_STANDARD",
801-
"SCRIPT_TYPE_WITNESS_UNKNOWN"
801+
"SCRIPT_TYPE_WITNESS_UNKNOWN",
802+
"SCRIPT_TYPE_WITNESS_V1_TAPROOT"
802803
],
803804
"default": "SCRIPT_TYPE_PUBKEY_HASH"
804805
},

0 commit comments

Comments
 (0)