MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / setTrafficGraphRange

Method setTrafficGraphRange

src/qt/rpcconsole.cpp:1016–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1014}
1015
1016void RPCConsole::setTrafficGraphRange(int mins)
1017{
1018 ui->trafficGraph->setGraphRangeMins(mins);
1019 ui->lblGraphRange->setText(GUIUtil::formatDurationStr(mins * 60));
1020}
1021
1022void RPCConsole::updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut)
1023{

Callers

nothing calls this directly

Calls 2

formatDurationStrFunction · 0.85
setGraphRangeMinsMethod · 0.80

Tested by

no test coverage detected