Skip to content

Commit

Permalink
Improve peer info GUI components
Browse files Browse the repository at this point in the history
  • Loading branch information
mikera committed Sep 4, 2024
1 parent 56faf47 commit 673c233
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion convex-gui/src/main/java/convex/gui/peer/PeerComponent.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ public String getPeerDescription() {
AccountKey paddr=server.getPeerKey();
// sb.append("0x"+paddr.toChecksumHex()+"\n");
if (server.isLive()) {
sb.append("Local peer on port: " + server.getPort() + " with store "+server.getStore().shortName()+"\n");
sb.append("Local peer on port: " + server.getPort() + "\n");
// before: + " with store "+server.getStore().shortName()+"\n"
} else {
sb.append("Inactive Peer\n");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ private void updateState(Convex p) {
sb.append("Running: " + s.isLive() + "\n");
sb.append("Key: " + s.getPeerKey() + "\n");
sb.append("Address: " + s.getHostAddress() + "\n");
sb.append("Store: " + s.getStore() + "\n");
sb.append("\n");

sb.append(s.getStatusVector()+"\n");
Expand Down

0 comments on commit 673c233

Please sign in to comment.