commit
93cdc874e1
1 changed files with 1 additions and 3 deletions
|
|
@ -25,8 +25,6 @@ const parsePath = (filePath = "") => {
|
||||||
|
|
||||||
const lndDirectory = getLndDirectory();
|
const lndDirectory = getLndDirectory();
|
||||||
|
|
||||||
const SHOCK_SUPER_PEER = "http://gun.shock.network:8765/gun"
|
|
||||||
|
|
||||||
module.exports = (mainnet = false) => {
|
module.exports = (mainnet = false) => {
|
||||||
const network = mainnet ? "mainnet" : "testnet";
|
const network = mainnet ? "mainnet" : "testnet";
|
||||||
|
|
||||||
|
|
@ -50,7 +48,7 @@ module.exports = (mainnet = false) => {
|
||||||
logfile: "shockapi.log",
|
logfile: "shockapi.log",
|
||||||
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
|
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
|
||||||
lndDirPath: lndDirectory,
|
lndDirPath: lndDirectory,
|
||||||
peers: [SHOCK_SUPER_PEER],
|
peers: ['http://gun.shock.network:8765/gun'],
|
||||||
useTLS: false,
|
useTLS: false,
|
||||||
tokenExpirationMS: 4500000
|
tokenExpirationMS: 4500000
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue