export super peer as constant
This commit is contained in:
parent
fee393ae83
commit
6708d1622f
1 changed files with 5 additions and 1 deletions
|
|
@ -25,6 +25,8 @@ const parsePath = (filePath = "") => {
|
|||
|
||||
const lndDirectory = getLndDirectory();
|
||||
|
||||
const SHOCK_SUPER_PEER = "http://gun.shock.network:8765/gun"
|
||||
|
||||
module.exports = (mainnet = false) => {
|
||||
const network = mainnet ? "mainnet" : "testnet";
|
||||
|
||||
|
|
@ -48,8 +50,10 @@ module.exports = (mainnet = false) => {
|
|||
logfile: "shockapi.log",
|
||||
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
|
||||
lndDirPath: lndDirectory,
|
||||
peers: ["http://gun.shock.network:8765/gun"],
|
||||
peers: [SHOCK_SUPER_PEER],
|
||||
useTLS: false,
|
||||
tokenExpirationMS: 4500000
|
||||
};
|
||||
};
|
||||
|
||||
module.exports.SHOCK_SUPER_PEER = SHOCK_SUPER_PEER
|
||||
Loading…
Add table
Add a link
Reference in a new issue