Merge pull request #228 from shocknet/remove-2nd-peer

remove offline peer
This commit is contained in:
CapDog 2020-10-24 07:20:15 -05:00 committed by GitHub
commit ea37088ae9
3 changed files with 4 additions and 6 deletions

View file

@ -46,7 +46,7 @@ module.exports = (mainnet = false) => {
logfile: "shockapi.log",
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
lndDirPath: lndDirectory,
peers: ['http://gun.shock.network:8765/gun','http://gun2.shock.network:8765/gun'],
peers: ['http://gun.shock.network:8765/gun'],
useTLS: false,
tokenExpirationMS: 259200000
};

View file

@ -23,7 +23,7 @@
gun = Gun({
peers: [
'http://gun.shock.network:8765/gun',
'http://gun2.shock.network:8765/gun'
//'http://gun2.shock.network:8765/gun'
],
axe: false
})
@ -61,4 +61,4 @@
background-color: black;
}
</style>
</html>
</html>

View file

@ -36,9 +36,7 @@ const setReceivedReqsMap = reqs => {
}
listeners.add(() => {
logger.info(
`new received reqs: ${JSON.stringify(getReceivedReqs(), null, 4)}`
)
logger.info(`new received reqs: ${size(getReceivedReqs())}`)
})
const react = debounce(() => {