lightning 5.8.6 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/grpc/protos/lightning.proto +3 -0
- package/lnd_methods/address/address_formats.json +4 -2
- package/lnd_methods/address/create_chain_address.d.ts +1 -1
- package/lnd_methods/address/create_chain_address.js +3 -1
- package/lnd_methods/onchain/partially_sign_psbt.d.ts +1 -1
- package/lnd_methods/onchain/partially_sign_psbt.js +1 -1
- package/lnd_responses/constants.json +5 -0
- package/lnd_responses/rpc_utxo_as_utxo.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1138,12 +1138,15 @@ message ListUnspentResponse {
|
|
|
1138
1138
|
|
|
1139
1139
|
- `p2wkh`: Pay to witness key hash (`WITNESS_PUBKEY_HASH` = 0)
|
|
1140
1140
|
- `np2wkh`: Pay to nested witness key hash (`NESTED_PUBKEY_HASH` = 1)
|
|
1141
|
+
- `p2tr`: Pay to taproot pubkey (`TAPROOT_PUBKEY` = 4)
|
|
1141
1142
|
*/
|
|
1142
1143
|
enum AddressType {
|
|
1143
1144
|
WITNESS_PUBKEY_HASH = 0;
|
|
1144
1145
|
NESTED_PUBKEY_HASH = 1;
|
|
1145
1146
|
UNUSED_WITNESS_PUBKEY_HASH = 2;
|
|
1146
1147
|
UNUSED_NESTED_PUBKEY_HASH = 3;
|
|
1148
|
+
TAPROOT_PUBKEY = 4;
|
|
1149
|
+
UNUSED_TAPROOT_PUBKEY = 5;
|
|
1147
1150
|
}
|
|
1148
1151
|
|
|
1149
1152
|
message NewAddressRequest {
|
|
@@ -13,8 +13,10 @@ const type = 'default';
|
|
|
13
13
|
|
|
14
14
|
Requires `address:write` permission
|
|
15
15
|
|
|
16
|
+
LND 0.14.3 below do not support p2tr addresses
|
|
17
|
+
|
|
16
18
|
{
|
|
17
|
-
[format]: <Receive Address Type String> // "np2wpkh" || "p2wpkh"
|
|
19
|
+
[format]: <Receive Address Type String> // "np2wpkh" || "p2tr" || "p2wpkh"
|
|
18
20
|
[is_unused]: <Get As-Yet Unused Address Bool>
|
|
19
21
|
lnd: <Authenticated LND API Object>
|
|
20
22
|
}
|
|
@@ -20,7 +20,7 @@ export type PartiallySignPsbtResult = {
|
|
|
20
20
|
*
|
|
21
21
|
* Requires LND built with `walletrpc` tag
|
|
22
22
|
*
|
|
23
|
-
* This method is not supported in LND 0.14.
|
|
23
|
+
* This method is not supported in LND 0.14.3 and below
|
|
24
24
|
*/
|
|
25
25
|
export const partiallySignPsbt: AuthenticatedLightningMethod<
|
|
26
26
|
PartiallySignPsbtArgs,
|
package/package.json
CHANGED