This repository was archived by the owner on Feb 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const {
1313 LND_PORT ,
1414 LND_PEER_PORT ,
1515 LND_REST_PORT ,
16+ LND_PROFILING_PORT ,
1617 LND_INIT_DELAY ,
1718 BTCD_MINING_ADDRESS ,
1819} = require ( '../src/config' ) ;
@@ -142,6 +143,7 @@ const startLnd = async () => {
142143 lndPort : LND_PORT ,
143144 lndPeerPort : LND_PEER_PORT ,
144145 lndRestPort : LND_REST_PORT ,
146+ lndProfilingPort : LND_PROFILING_PORT ,
145147 logger : Logger ,
146148 lndArgs,
147149 } ) ;
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ module.exports.startLndProcess = async function({
5252 lndPeerPort,
5353 logger,
5454 lndRestPort,
55+ lndProfilingPort,
5556 lndArgs = [ ] ,
5657} ) {
5758 if ( ! lndSettingsDir ) throw new Error ( 'lndSettingsDir not set!' ) ;
@@ -64,6 +65,7 @@ module.exports.startLndProcess = async function({
6465 lndPort ? `--rpclisten=localhost:${ lndPort } ` : '' ,
6566 lndPeerPort ? `--listen=localhost:${ lndPeerPort } ` : '' ,
6667 lndRestPort ? `--restlisten=localhost:${ lndRestPort } ` : '' ,
68+ lndProfilingPort ? `--profile=${ lndProfilingPort } ` : '' ,
6769 ] ;
6870 // set development or production settings
6971 if ( isDev ) {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ module.exports.RATE_DELAY = 15 * 60 * 1000;
1010module . exports . LND_PORT = 10006 ;
1111module . exports . LND_PEER_PORT = 10016 ;
1212module . exports . LND_REST_PORT = 8086 ;
13+ module . exports . LND_PROFILING_PORT = 9096 ;
1314
1415module . exports . NETWORK = 'testnet' ;
1516module . exports . BTCD_MINING_ADDRESS = 'rfu4i1Mo2NF7TQsN9bMVLFSojSzcyQCEH5' ;
You can’t perform that action at this time.
0 commit comments