balanceofsatoshis 12.28.1 → 12.28.2
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 +4 -0
- package/network/remove_peer.js +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/network/remove_peer.js
CHANGED
|
@@ -21,6 +21,7 @@ const iconDisabled = channel => !channel.is_active ? '💀 ' : '';
|
|
|
21
21
|
const iconPending = channel => channel.pending_payments.length ? '💸 ' : ''
|
|
22
22
|
const {isArray} = Array;
|
|
23
23
|
const isPublicKey = n => !!n && /^0[2-3][0-9A-F]{64}$/i.test(n);
|
|
24
|
+
const maxFeeRate = (chan, rate) => !!chan.is_active ? rate * 100 : undefined;
|
|
24
25
|
const maxMempoolSize = 2e6;
|
|
25
26
|
const regularConf = 72;
|
|
26
27
|
const slowConf = 144;
|
|
@@ -435,6 +436,7 @@ module.exports = (args, cbk) => {
|
|
|
435
436
|
address: !isLocked && !!address ? address : undefined,
|
|
436
437
|
is_force_close: !channel.is_active,
|
|
437
438
|
lnd: args.lnd,
|
|
439
|
+
max_tokens_per_vbyte: maxFeeRate(channel, feeRate),
|
|
438
440
|
tokens_per_vbyte: !!channel.is_active ? feeRate : undefined,
|
|
439
441
|
transaction_id: channel.transaction_id,
|
|
440
442
|
transaction_vout: channel.transaction_vout,
|
package/package.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"inquirer": "9.1.1",
|
|
38
38
|
"ln-accounting": "5.0.7",
|
|
39
39
|
"ln-service": "53.22.0",
|
|
40
|
-
"ln-sync": "3.
|
|
40
|
+
"ln-sync": "3.14.0",
|
|
41
41
|
"ln-telegram": "3.22.3",
|
|
42
42
|
"moment": "2.29.4",
|
|
43
43
|
"paid-services": "3.20.3",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis --push .",
|
|
84
84
|
"test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -t 60 test/arrays/*.js test/balances/*.js test/chain/*.js test/display/*.js test/encryption/*.js test/lnd/*.js test/network/*.js test/nodes/*.js test/peers/*.js test/responses/*.js test/routing/*.js test/services/*.js test/swaps/*.js test/tags/*.js test/telegram/*.js test/wallets/*.js"
|
|
85
85
|
},
|
|
86
|
-
"version": "12.28.
|
|
86
|
+
"version": "12.28.2"
|
|
87
87
|
}
|