lightning
Advanced tools
Comparing version 10.17.0 to 10.18.0
# Versions | ||
## 10.18.0 | ||
- `getMinimumRelayFee`: Add method to get the chain backend minimum relay fee | ||
## 10.17.0 | ||
- `getFeeRates`: Add support for `inbound_base_discount_mtokens`, | ||
'inbound_rate_discount` for inbound fee policy discounts | ||
`inbound_rate_discount` for inbound fee policy discounts | ||
@@ -8,0 +12,0 @@ ## 10.16.1 |
@@ -64,2 +64,3 @@ const {addAdvertisedFeature} = require('./lnd_methods'); | ||
const {getMethods} = require('./lnd_methods'); | ||
const {getMinimumRelayFee} = require('./lnd_methods'); | ||
const {getNetworkCentrality} = require('./lnd_methods'); | ||
@@ -225,2 +226,3 @@ const {getNetworkGraph} = require('./lnd_methods'); | ||
getMethods, | ||
getMinimumRelayFee, | ||
getNetworkCentrality, | ||
@@ -227,0 +229,0 @@ getNetworkGraph, |
@@ -63,2 +63,3 @@ const {addAdvertisedFeature} = require('./peers'); | ||
const {getMethods} = require('./info'); | ||
const {getMinimumRelayFee} = require('./onchain'); | ||
const {getNetworkCentrality} = require('./info'); | ||
@@ -223,2 +224,3 @@ const {getNetworkGraph} = require('./info'); | ||
getMethods, | ||
getMinimumRelayFee, | ||
getNetworkCentrality, | ||
@@ -225,0 +227,0 @@ getNetworkGraph, |
@@ -18,2 +18,3 @@ const broadcastChainTransaction = require('./broadcast_chain_transaction'); | ||
const getMasterPublicKeys = require('./get_master_public_keys'); | ||
const getMinimumRelayFee = require('./get_minimum_relay_fee'); | ||
const getPendingChainBalance = require('./get_pending_chain_balance'); | ||
@@ -63,2 +64,3 @@ const getPendingSweeps = require('./get_pending_sweeps'); | ||
getMasterPublicKeys, | ||
getMinimumRelayFee, | ||
getPendingChainBalance, | ||
@@ -65,0 +67,0 @@ getPendingSweeps, |
@@ -18,2 +18,4 @@ const {chanFormat} = require('bolt07'); | ||
fee_per_mil: <Millitokens Per Million Fee Rate String> | ||
inbound_base_fee_msat: <Inbound Base Fee Millitokens Number> | ||
inbound_fee_per_mil: <Inbound Fee Rate PPM Number> | ||
} | ||
@@ -20,0 +22,0 @@ |
@@ -12,3 +12,3 @@ { | ||
"@grpc/proto-loader": "0.7.13", | ||
"@types/node": "22.1.0", | ||
"@types/node": "22.2.0", | ||
"@types/request": "2.48.12", | ||
@@ -26,3 +26,3 @@ "@types/ws": "8.5.12", | ||
"tiny-secp256k1": "2.2.3", | ||
"type-fest": "4.23.0" | ||
"type-fest": "4.24.0" | ||
}, | ||
@@ -58,3 +58,3 @@ "description": "Lightning Network client library", | ||
"types": "index.d.ts", | ||
"version": "10.17.0" | ||
"version": "10.18.0" | ||
} |
@@ -204,2 +204,4 @@ # Lightning | ||
permissions required to use them. | ||
- [getMinimumRelayFee](https://github.com/alexbosworth/ln-service#getminimumrelayfee): | ||
Get the minimum relayable fee for publishing a chain transaction | ||
- [getNetworkCentrality](https://github.com/alexbosworth/ln-service#getnetworkcentrality): | ||
@@ -206,0 +208,0 @@ Calculate the graph centrality score of a node. |
@@ -75,2 +75,19 @@ const {deepStrictEqual} = require('node:assert').strict; | ||
}, | ||
{ | ||
args: makeArgs({ | ||
inbound_base_fee_msat: -1, | ||
inbound_fee_per_mil: -1, | ||
}), | ||
description: 'RPC channel fees are mapped to inverse channel fees', | ||
expected: { | ||
base_fee: 0, | ||
base_fee_mtokens: '1', | ||
fee_rate: 0, | ||
id: '0x0x1', | ||
inbound_base_discount_mtokens: '1', | ||
inbound_rate_discount: 1, | ||
transaction_id: Buffer.alloc(32).toString('hex'), | ||
transaction_vout: 0, | ||
}, | ||
}, | ||
]; | ||
@@ -77,0 +94,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2469553
872
64278
394
+ Added@types/node@22.2.0(transitive)
+ Addedtype-fest@4.24.0(transitive)
- Removed@types/node@22.1.0(transitive)
- Removedtype-fest@4.23.0(transitive)
Updated@types/node@22.2.0
Updatedtype-fest@4.24.0