MCPcopy Create free account
hub / github.com/ElementsProject/elements / setTrafficGraphRange

Method setTrafficGraphRange

src/qt/rpcconsole.cpp:1147–1151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1145}
1146
1147void RPCConsole::setTrafficGraphRange(int mins)
1148{
1149 ui->trafficGraph->setGraphRange(std::chrono::minutes{mins});
1150 ui->lblGraphRange->setText(GUIUtil::formatDurationStr(std::chrono::minutes{mins}));
1151}
1152
1153void RPCConsole::updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut)
1154{

Callers

nothing calls this directly

Calls 3

formatDurationStrFunction · 0.85
setGraphRangeMethod · 0.80
setTextMethod · 0.80

Tested by

no test coverage detected