lightning 6.7.0 → 6.8.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 -1
- package/lnd_messages/close_channel_request.js +3 -0
- package/lnd_methods/macaroon/methods.json +1 -1
- package/lnd_methods/macaroon/subscribe_to_rpc_requests.js +1 -0
- package/package.json +1 -1
- package/test/lnd_messages/test_close_channel_request.js +1 -0
- package/test/lnd_methods/macaroon/test_handle_rpc_request_update.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,7 @@ const hashAsTxId = hash => hash.slice().reverse().toString('hex');
|
|
|
9
9
|
}
|
|
10
10
|
delivery_address: <Request Cooperative Close Address String>
|
|
11
11
|
force: <Force Close Channel Bool>
|
|
12
|
+
max_fee_per_vbyte: <Max Fee Tokens Per VByte String>
|
|
12
13
|
sat_per_byte: <Chain Fee Tokens Per Virtual Byte String>
|
|
13
14
|
target_conf: <Target Confirm Within N Blocks Number>
|
|
14
15
|
}
|
|
@@ -17,6 +18,7 @@ const hashAsTxId = hash => hash.slice().reverse().toString('hex');
|
|
|
17
18
|
{
|
|
18
19
|
[address]: <Request Sending Local Channel Funds To Address String>
|
|
19
20
|
[is_force_close]: <Is Force Close Bool>
|
|
21
|
+
[max_tokens_per_vbyte]: <Max Tokens Per VByte Number>
|
|
20
22
|
[target_confirmations]: <Confirmation Target Number>
|
|
21
23
|
[tokens_per_vbyte]: <Tokens Per Virtual Byte Number>
|
|
22
24
|
transaction_id: <Transaction Id Hex String>
|
|
@@ -27,6 +29,7 @@ module.exports = args => {
|
|
|
27
29
|
return {
|
|
28
30
|
address: args.delivery_address || undefined,
|
|
29
31
|
is_force_close: args.force || undefined,
|
|
32
|
+
max_tokens_per_vbyte: Number(args.max_fee_per_vbyte) || undefined,
|
|
30
33
|
target_confirmations: args.target_conf || undefined,
|
|
31
34
|
tokens_per_vbyte: Number(args.sat_per_byte) || undefined,
|
|
32
35
|
transaction_id: hashAsTxId(args.channel_point.funding_txid_bytes),
|
|
@@ -47,6 +47,7 @@ const type = 'default';
|
|
|
47
47
|
request: {
|
|
48
48
|
[address]: <Request Sending Local Channel Funds To Address String>
|
|
49
49
|
[is_force_close]: <Is Force Close Bool>
|
|
50
|
+
[max_tokens_per_vbyte]: <Max Tokens Per VByte Number>
|
|
50
51
|
[target_confirmations]: <Confirmation Target Number>
|
|
51
52
|
[tokens_per_vbyte]: <Tokens Per Virtual Byte Number>
|
|
52
53
|
transaction_id: <Transaction Id Hex String>
|
package/package.json
CHANGED