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,17 +1342,17 @@ - + - Elapsed time since a novel transaction accepted into our mempool was received from this peer. + Elapsed time since a novel block passing initial validity checks was received from this peer. - Last Tx + Last Block - + IBeamCursor @@ -1368,14 +1368,17 @@ - + + + Elapsed time since a novel transaction accepted into our mempool was received from this peer. + - Last Send + Last Tx - + IBeamCursor @@ -1391,14 +1394,14 @@ - + - Last Receive + Last Send - + IBeamCursor @@ -1414,14 +1417,14 @@ - + - Sent + Last Receive - + IBeamCursor @@ -1437,14 +1440,14 @@ - + - Received + Sent - + IBeamCursor @@ -1460,14 +1463,14 @@ - + - Ping Time + Received - + IBeamCursor @@ -1483,17 +1486,14 @@ - - - The duration of a currently outstanding ping. - + - Ping Wait + Ping Time - + IBeamCursor @@ -1509,14 +1509,17 @@ - + + + The duration of a currently outstanding ping. + - Min Ping + Ping Wait - + IBeamCursor @@ -1532,14 +1535,14 @@ - + - Time Offset + Min Ping - + IBeamCursor @@ -1555,17 +1558,14 @@ - - - The mapped Autonomous System used for diversifying peer selection. - + - Mapped AS + Time Offset - + IBeamCursor @@ -1581,6 +1581,32 @@ + + + The mapped Autonomous System used for diversifying peer selection. + + + Mapped AS + + + + + + + IBeamCursor + + + N/A + + + Qt::PlainText + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + 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));