diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui index 318eca6c59c..e45cafe48a1 100644 --- a/src/qt/forms/debugwindow.ui +++ b/src/qt/forms/debugwindow.ui @@ -1079,7 +1079,7 @@ - The direction and type of peer connection: %1 + The direction and type of peer connection: %1 Direction/Type @@ -1342,6 +1342,32 @@ + + + Elapsed time since a novel block passing initial validity checks was received from this peer. + + + Last Block + + + + + + + IBeamCursor + + + N/A + + + Qt::PlainText + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + Elapsed time since a novel transaction accepted into our mempool was received from this peer. @@ -1351,7 +1377,7 @@ - + IBeamCursor @@ -1367,14 +1393,14 @@ - + Last Send - + IBeamCursor @@ -1390,14 +1416,14 @@ - + Last Receive - + IBeamCursor @@ -1413,14 +1439,14 @@ - + Sent - + IBeamCursor @@ -1436,14 +1462,14 @@ - + Received - + IBeamCursor @@ -1459,14 +1485,14 @@ - + Ping Time - + IBeamCursor @@ -1482,7 +1508,7 @@ - + The duration of a currently outstanding ping. @@ -1492,7 +1518,7 @@ - + IBeamCursor @@ -1508,14 +1534,14 @@ - + Min Ping - + IBeamCursor @@ -1531,14 +1557,14 @@ - + Time Offset - + IBeamCursor @@ -1554,7 +1580,7 @@ - + The mapped Autonomous System used for diversifying peer selection. @@ -1564,7 +1590,7 @@ - + IBeamCursor @@ -1580,7 +1606,7 @@ - + Qt::Vertical diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 3bd6d94a587..5acf8b1cf02 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -1122,6 +1122,7 @@ void RPCConsole::updateDetailWidget() ui->peerHighBandwidth->setText(bip152_hb_settings); const int64_t time_now{GetSystemTimeInSeconds()}; ui->peerConnTime->setText(GUIUtil::formatDurationStr(time_now - stats->nodeStats.nTimeConnected)); + ui->peerLastBlock->setText(TimeDurationField(time_now, stats->nodeStats.nLastBlockTime)); ui->peerLastTx->setText(TimeDurationField(time_now, stats->nodeStats.nLastTXTime)); ui->peerLastSend->setText(TimeDurationField(time_now, stats->nodeStats.nLastSend)); ui->peerLastRecv->setText(TimeDurationField(time_now, stats->nodeStats.nLastRecv));