ln-service
Advanced tools
Comparing version 57.11.0 to 57.12.0
# Versions | ||
## 57.12.0 | ||
- `createFundedPsbt`: Add method to create a funded PSBT given inputs/outputs | ||
## 57.11.0 | ||
@@ -4,0 +8,0 @@ |
@@ -13,2 +13,3 @@ const {addAdvertisedFeature} = require('lightning'); | ||
const {createChainAddress} = require('lightning'); | ||
const {createFundedPsbt} = require('lightning'); | ||
const {createHodlInvoice} = require('lightning'); | ||
@@ -178,2 +179,3 @@ const {createInvoice} = require('lightning'); | ||
createChainAddress, | ||
createFundedPsbt, | ||
createHodlInvoice, | ||
@@ -180,0 +182,0 @@ createInvoice, |
@@ -12,3 +12,3 @@ { | ||
"invoices": "3.0.0", | ||
"lightning": "10.11.0", | ||
"lightning": "10.12.0", | ||
"macaroon": "3.0.4" | ||
@@ -28,7 +28,7 @@ }, | ||
"ecpair": "2.1.0", | ||
"ln-docker-daemons": "6.0.15", | ||
"ln-docker-daemons": "6.0.16", | ||
"p2tr": "2.0.0", | ||
"portfinder": "1.0.32", | ||
"psbt": "3.0.0", | ||
"rimraf": "5.0.5", | ||
"rimraf": "5.0.7", | ||
"secp256k1": "5.0.0", | ||
@@ -76,3 +76,3 @@ "tiny-secp256k1": "2.2.3", | ||
}, | ||
"version": "57.11.0" | ||
"version": "57.12.0" | ||
} |
@@ -68,9 +68,2 @@ const {equal} = require('node:assert').strict; | ||
const onlyAfter = await getChainTransactions({ | ||
lnd, | ||
after: tx.confirmation_height, | ||
}); | ||
equal(onlyAfter.transactions.length, [].length, 'No txs after'); | ||
const onlyBefore = await getChainTransactions({lnd, before: 2}); | ||
@@ -77,0 +70,0 @@ |
@@ -50,2 +50,4 @@ const {strictEqual} = require('node:assert').strict; | ||
await generate({}); | ||
const heights = await asyncMap(lnds, async lnd => { | ||
@@ -52,0 +54,0 @@ return (await getHeight({lnd})).current_block_height; |
@@ -36,10 +36,20 @@ const {deepEqual} = require('node:assert').strict; | ||
await target.generate({count: maturity}); | ||
const controlToTargetChan = await setupChannel({generate, lnd, to: target}); | ||
const targetToRemoteChan = await setupChannel({ | ||
generate: target.generate, | ||
lnd: target.lnd, | ||
to: remote, | ||
await generate({}); | ||
await asyncRetry({interval, times}, async () => { | ||
await generate({}); | ||
await addPeer({ | ||
lnd: target.lnd, | ||
public_key: remote.id, | ||
socket: remote.socket, | ||
}); | ||
const targetToRemoteChan = await setupChannel({ | ||
generate: target.generate, | ||
lnd: target.lnd, | ||
to: remote, | ||
}); | ||
}); | ||
@@ -46,0 +56,0 @@ |
Sorry, the diff of this file is too big to display
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
831168
177
14257
7931
+ Added@grpc/grpc-js@1.10.8(transitive)
+ Added@noble/hashes@1.6.1(transitive)
+ Added@types/node@20.12.12(transitive)
+ Addedcipher-base@1.0.6(transitive)
+ Addedlightning@10.12.0(transitive)
- Removed@grpc/grpc-js@1.10.7(transitive)
- Removed@noble/hashes@1.6.0(transitive)
- Removed@types/node@20.12.10(transitive)
- Removedcipher-base@1.0.5(transitive)
- Removedlightning@10.11.0(transitive)
Updatedlightning@10.12.0