remove POW for annoncements
This commit is contained in:
parent
1c6893e297
commit
7db8193bf6
6 changed files with 67 additions and 97 deletions
|
@ -71,7 +71,13 @@ if (sec_description_str !== 'normal'){
|
|||
function getStats(){
|
||||
stats = JSON.parse(httpGet('getstats', webpass))
|
||||
uptimeDisplay.innerText = seconds2time(stats['uptime'])
|
||||
connectedDisplay.innerText = stats['connectedNodes']
|
||||
connectedNodes = stats['connectedNodes'].split('\n')
|
||||
connectedDisplay.innerText = ''
|
||||
for (x = 0; x < connectedNodes.length; x++){
|
||||
if (! connectedDisplay.innerText.includes(connectedNodes[x])){
|
||||
connectedDisplay.innerText += '🧅 ' + connectedNodes[x] + '\n'
|
||||
}
|
||||
}
|
||||
storedBlockDisplay.innerText = stats['blockCount']
|
||||
queuedBlockDisplay.innerText = stats['blockQueueCount']
|
||||
securityLevel.innerText = sec_description_str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue