Skip to content

Commit

Permalink
Add remote node connections to admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
lazynina authored and tholonious committed Jun 17, 2024
1 parent 27033ea commit d19b8cc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/app/network-info/network-info.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,27 @@
<i *ngIf="isOpen.desoNode" class="fas fa-caret-down"></i>
DeSo Node Info
</span>
<div class="ml-15px">
Remote Node Connections
<table class="fs-12px">
<thead>
<td>IP</td>
<td>Status</td>
<td>Validator Info</td>
</thead>
<tbody>
<tr *ngFor="let connection of globalVars.nodeInfo.RemoteNodeConnections">
<td>{{ connection.PeerResponse.IP + ':' + connection.PeerResponse.ProtocolPort }}</td>
<td>
<i [ngClass]="connection.PeerConnected ? 'fas fa-solid fa-check fc-green' : 'fas fa-solid fa-x fc-red'"></i>
{{ connection.RemoteNodeStatus }}
</td>
<td class="text-truncate">
{{ connection?.ValidatorResponse?.ValidatorPublicKeyBase58Check }}
</td>
</tr>
</table>
</div>
<div *ngIf="isOpen.desoNode && updatingDeSoPeer" class="ml-15px fc-muted">
Updating DeSo peers...
</div>
Expand Down

0 comments on commit d19b8cc

Please sign in to comment.