History

Move node received bandwidth tracking to LimitedNodeList

Ryan Huffman committed 10 years ago

Commit b5e29131 parent 473a7e95 files · +12 −25Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -845,7 +845,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) : · 844 unmodified lines
845 QSharedPointer<BandwidthRecorder> bandwidthRecorder = DependencyManager::get<BandwidthRecorder>();845 QSharedPointer<BandwidthRecorder> bandwidthRecorder = DependencyManager::get<BandwidthRecorder>();
846 connect(nodeList.data(), &LimitedNodeList::dataSent,846 connect(nodeList.data(), &LimitedNodeList::dataSent,
847 bandwidthRecorder.data(), &BandwidthRecorder::updateOutboundData);847 bandwidthRecorder.data(), &BandwidthRecorder::updateOutboundData);
848 connect(&nodeList->getPacketReceiver(), &PacketReceiver::dataReceived,848 connect(nodeList.data(), &LimitedNodeList::dataReceived,
849 bandwidthRecorder.data(), &BandwidthRecorder::updateInboundData);849 bandwidthRecorder.data(), &BandwidthRecorder::updateInboundData);
850 850
851 // FIXME -- I'm a little concerned about this.851 // FIXME -- I'm a little concerned about this.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t