mirror of
https://github.com/alexbosworth/balanceofsatoshis.git
synced 2026-08-13 12:33:37 +02:00
avoid mempool query
This commit is contained in:
parent
8a0ceec1ca
commit
d529557732
5 changed files with 737 additions and 203 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Versions
|
||||
|
||||
## 19.5.2
|
||||
|
||||
- `remove-peer`: Avoid query mempool size when chain fee rate is specified
|
||||
|
||||
## 19.5.1
|
||||
|
||||
- `open`: allow going below safety minimum on remote reserve via
|
||||
|
|
|
|||
|
|
@ -315,6 +315,11 @@ module.exports = (args, cbk) => {
|
|||
|
||||
// Get mempool size
|
||||
getMempool: ['getNetwork', ({getNetwork}, cbk) => {
|
||||
// Exit early when the chain fee is specified directly
|
||||
if (!!args.chain_fee_rate) {
|
||||
return cbk();
|
||||
}
|
||||
|
||||
return getMempoolSize({
|
||||
network: getNetwork.network,
|
||||
request: args.request,
|
||||
|
|
|
|||
919
package-lock.json
generated
919
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
|
@ -25,17 +25,17 @@
|
|||
"bolt01": "2.0.0",
|
||||
"bolt03": "1.3.2",
|
||||
"bolt07": "1.9.4",
|
||||
"cbor": "10.0.3",
|
||||
"cbor": "10.0.9",
|
||||
"colorette": "2.0.20",
|
||||
"crypto-js": "4.2.0",
|
||||
"csv-parse": "5.6.0",
|
||||
"csv-parse": "6.0.0",
|
||||
"ecpair": "3.0.0",
|
||||
"goldengate": "14.0.10",
|
||||
"grammy": "1.36.3",
|
||||
"grammy": "1.37.0",
|
||||
"hot-formula-parser": "4.0.0",
|
||||
"import-lazy": "4.0.0",
|
||||
"ini": "5.0.0",
|
||||
"inquirer": "12.6.3",
|
||||
"inquirer": "12.7.0",
|
||||
"ln-accounting": "8.0.6",
|
||||
"ln-service": "57.26.0",
|
||||
"ln-sync": "6.4.2",
|
||||
|
|
@ -82,5 +82,5 @@
|
|||
"postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis -t alexbosworth/balanceofsatoshis:$npm_package_version --push .",
|
||||
"test": "npx nyc@17.1.0 node --experimental-test-coverage --test 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"
|
||||
},
|
||||
"version": "19.5.1"
|
||||
"version": "19.5.2"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ const report = [
|
|||
},
|
||||
{},
|
||||
{
|
||||
subtitle: '55 years ago',
|
||||
subtitle: '56 years ago',
|
||||
title: 'Last Block:',
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue