File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1503
1503
</widget >
1504
1504
</item >
1505
1505
<item row =" 18" column =" 0" >
1506
+ <widget class =" QLabel" name =" peerMappedASLabel" >
1507
+ <property name =" toolTip" >
1508
+ <string >The mapped Autonomous System used for diversifying peer selection.</string >
1509
+ </property >
1510
+ <property name =" text" >
1511
+ <string >Mapped AS</string >
1512
+ </property >
1513
+ </widget >
1514
+ </item >
1515
+ <item row =" 18" column =" 1" >
1516
+ <widget class =" QLabel" name =" peerMappedAS" >
1517
+ <property name =" cursor" >
1518
+ <cursorShape >IBeamCursor</cursorShape >
1519
+ </property >
1520
+ <property name =" text" >
1521
+ <string >N/A</string >
1522
+ </property >
1523
+ <property name =" textFormat" >
1524
+ <enum >Qt::PlainText</enum >
1525
+ </property >
1526
+ <property name =" textInteractionFlags" >
1527
+ <set >Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set >
1528
+ </property >
1529
+ </widget >
1530
+ </item >
1531
+ <item row =" 19" column =" 0" >
1506
1532
<spacer name =" verticalSpacer_3" >
1507
1533
<property name =" orientation" >
1508
1534
<enum >Qt::Vertical</enum >
Original file line number Diff line number Diff line change @@ -1113,11 +1113,12 @@ void RPCConsole::updateNodeDetail(const CNodeCombinedStats *stats)
1113
1113
ui->peerPingWait ->setText (GUIUtil::formatPingTime (stats->nodeStats .m_ping_wait_usec ));
1114
1114
ui->peerMinPing ->setText (GUIUtil::formatPingTime (stats->nodeStats .m_min_ping_usec ));
1115
1115
ui->timeoffset ->setText (GUIUtil::formatTimeOffset (stats->nodeStats .nTimeOffset ));
1116
- ui->peerVersion ->setText (QString ( " %1 " ). arg ( QString ::number (stats->nodeStats .nVersion ) ));
1116
+ ui->peerVersion ->setText (QString::number (stats->nodeStats .nVersion ));
1117
1117
ui->peerSubversion ->setText (QString::fromStdString (stats->nodeStats .cleanSubVer ));
1118
1118
ui->peerDirection ->setText (stats->nodeStats .fInbound ? tr (" Inbound" ) : tr (" Outbound" ));
1119
- ui->peerHeight ->setText (QString ( " %1 " ). arg ( QString ::number (stats->nodeStats .nStartingHeight ) ));
1119
+ ui->peerHeight ->setText (QString::number (stats->nodeStats .nStartingHeight ));
1120
1120
ui->peerWhitelisted ->setText (stats->nodeStats .m_legacyWhitelisted ? tr (" Yes" ) : tr (" No" ));
1121
+ ui->peerMappedAS ->setText (stats->nodeStats .m_mapped_as != 0 ? QString::number (stats->nodeStats .m_mapped_as ) : tr (" N/A" ));
1121
1122
1122
1123
// This check fails for example if the lock was busy and
1123
1124
// nodeStateStats couldn't be fetched.
You can’t perform that action at this time.
0 commit comments