Merge pull request #453 from shocknet/superpeer-url

Superpeer url
This commit is contained in:
CapDog 2021-08-20 17:31:56 -04:00 committed by GitHub
commit 187b6752b1
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Gun db storage # Gun db storage
DATA_FILE_NAME=radata2 DATA_FILE_NAME=radata2
# Gun peer # Gun peer
PEERS=["http://gun.shock.network:8765/gun"] ["https://gun.shock.network/gun","https://gun-eu.shock.network/gun"]
# API Device Token # API Device Token
MS_TO_TOKEN_EXPIRATION=4500000 MS_TO_TOKEN_EXPIRATION=4500000
# E2EE # E2EE

View file

@ -47,7 +47,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: ['https://gun.shock.network/gun','https://gun-eu.shock.network'], peers: ['https://gun.shock.network/gun','https://gun-eu.shock.network/gun'],
useTLS: false, useTLS: false,
tokenExpirationMS: 259200000, tokenExpirationMS: 259200000,
localtunnelHost:'https://tunnel.rip' localtunnelHost:'https://tunnel.rip'