ln-docker-daemons 5.0.2 → 5.0.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Versions
2
2
 
3
- ## 5.0.2
3
+ ## 5.0.3
4
4
 
5
5
  - Change default LND version to v0.16.2-beta
6
6
 
@@ -8,6 +8,8 @@ const {killDockers} = require('./../docker');
8
8
  const {spawnBitcoindDocker} = require('./../bitcoind');
9
9
  const spawnLndDocker = require('./spawn_lnd_docker');
10
10
 
11
+ const defaultBitcoindRpcPort = 18443;
12
+
11
13
  /** Spawn an LND Docker
12
14
 
13
15
  {
@@ -110,7 +112,7 @@ module.exports = (args, cbk) => {
110
112
  configuration: args.lnd_configuration,
111
113
  bitcoind_rpc_host: spawnChainDaemon.host,
112
114
  bitcoind_rpc_pass: spawnChainDaemon.rpc_pass,
113
- bitcoind_rpc_port: args.chain_rpc_port,
115
+ bitcoind_rpc_port: defaultBitcoindRpcPort,
114
116
  bitcoind_rpc_user: spawnChainDaemon.rpc_user,
115
117
  bitcoind_zmq_block_port: args.chain_zmq_block_port,
116
118
  bitcoind_zmq_tx_port: args.chain_zmq_tx_port,
@@ -89,11 +89,9 @@ module.exports = (args, cbk) => {
89
89
  '--bitcoin.node=bitcoind',
90
90
  '--bitcoin.regtest',
91
91
  '--bitcoin.timelockdelta=40',
92
- `--bitcoind.rpchost=${chainHost}:18443`,
92
+ `--bitcoind.rpchost=${chainHost}:${args.bitcoind_rpc_port}`,
93
93
  `--bitcoind.rpcpass=${args.bitcoind_rpc_pass}`,
94
94
  `--bitcoind.rpcuser=${args.bitcoind_rpc_user}`,
95
- `--bitcoind.zmqpubrawblock=tcp://${chainHost}:${zmqBlockPort}`,
96
- `--bitcoind.zmqpubrawtx=tcp://${chainHost}:${zmqTxPort}`,
97
95
  '--debuglevel=trace',
98
96
  `--externalip=127.0.0.1:9735`,
99
97
  '--historicalsyncinterval=1s',
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "asyncjs-util": "1.2.11",
13
13
  "dockerode": "3.3.5",
14
14
  "find-free-ports": "3.1.1",
15
- "lightning": "9.2.1",
15
+ "lightning": "9.3.0",
16
16
  "tar-stream": "3.0.0"
17
17
  },
18
18
  "description": "Spawn and control LN Docker daemons",
@@ -35,5 +35,5 @@
35
35
  "scripts": {
36
36
  "test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -j 1 test/bitcoind/*.js test/lnd/*.js"
37
37
  },
38
- "version": "5.0.2"
38
+ "version": "5.0.3"
39
39
  }