updated script and healthService error
This commit is contained in:
parent
bc66822c8b
commit
2c11acaeca
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@debros/node",
|
||||
"type": "module",
|
||||
"version": "0.0.17-alpha",
|
||||
"version": "0.0.18-alpha",
|
||||
"description": "DeBros Node",
|
||||
"main": "dist/index.js",
|
||||
"bin": "dist/cli.js",
|
||||
|
@ -422,7 +422,6 @@ log "${CYAN}please rerun this script after rebooting to finish the installation.
|
||||
log "${BLUE}==================================================${NOCOLOR}"
|
||||
|
||||
# Information about the DeBros CLI
|
||||
log "${BLUE}==================================================${NOCOLOR}"
|
||||
log "${GREEN}DeBros CLI Information:${NOCOLOR}"
|
||||
log "${CYAN}The DeBros CLI is a tool that runs on your local development machine,${NOCOLOR}"
|
||||
log "${CYAN}not on the node itself. To install it on your development machine, run:${NOCOLOR}"
|
||||
|
@ -42,7 +42,7 @@ export const startStatusReporting = (interval = 600000) => {
|
||||
console.log('CONNECTED PEERS:');
|
||||
connectedPeers.forEach((peer, i) => {
|
||||
// Adjust based on your peer structure from the new @debros/network
|
||||
const peerId = peer.id || peer.toString();
|
||||
const peerId = peer.fingerprint || peer.toString();
|
||||
const load = peer.load || 'unknown';
|
||||
console.log(`${i + 1}. ${peerId.substring(0, 15)}... - Load: ${load}%`);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user