diff --git a/public/nodes.js b/public/nodes.js index ad56eacd..bedcf7a4 100644 --- a/public/nodes.js +++ b/public/nodes.js @@ -119,7 +119,7 @@ body.innerHTML = `
${escapeHtml(n.name || '(unnamed)')}
-
${n.role} ${n.hash_size ? `${n.hash_size}-byte hash` : ''} ${statusLabel}
+
${n.role} ${n.hash_size ? `${n.public_key.slice(0, n.hash_size * 2).toUpperCase()}` : ''} ${statusLabel}
${n.public_key}
@@ -143,7 +143,7 @@ ${stats.avgSnr != null ? `Avg SNR${stats.avgSnr.toFixed(1)} dB` : ''} ${stats.avgHops ? `Avg Hops${stats.avgHops}` : ''} ${hasLoc ? `Location${n.lat.toFixed(5)}, ${n.lon.toFixed(5)}` : ''} - Hash Size${n.hash_size ? n.hash_size + '-byte (' + (n.hash_size * 2) + ' hex chars)' : 'Unknown'} + Hash Prefix${n.hash_size ? '' + n.public_key.slice(0, n.hash_size * 2).toUpperCase() + ' (' + n.hash_size + '-byte)' : 'Unknown'} ${observers.length ? `
@@ -504,7 +504,7 @@
${hasLoc ? `
` : ''}
${escapeHtml(n.name || '(unnamed)')}
-
${n.role} ${n.hash_size ? `${n.hash_size}-byte hash` : ''} ${statusLabel} +
${n.role} ${n.hash_size ? `${n.public_key.slice(0, n.hash_size * 2).toUpperCase()}` : ''} ${statusLabel} 🔍 Details 📊 Analytics