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

Method setClientModel

src/qt/trafficgraphwidget.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void TrafficGraphWidget::setClientModel(ClientModel *model)
36{
37 clientModel = model;
38 if(model) {
39 nLastBytesIn = model->node().getTotalBytesRecv();
40 nLastBytesOut = model->node().getTotalBytesSent();
41 }
42}
43
44int TrafficGraphWidget::getGraphRangeMins() const
45{

Callers

nothing calls this directly

Calls 2

getTotalBytesRecvMethod · 0.80
getTotalBytesSentMethod · 0.80

Tested by

no test coverage detected