Merge #11499: [Qt] Add upload and download info to the peerlist (debug menu)
commit6157e8ce3937af3f46d3e7dd922d19d6dc272145
authorJonas Schnelli <dev@jonasschnelli.ch>
Mon, 23 Oct 2017 01:33:01 +0000 (22 15:33 -1000)
committerJonas Schnelli <dev@jonasschnelli.ch>
Mon, 23 Oct 2017 01:33:11 +0000 (22 15:33 -1000)
tree64584e0dd45f286a8ee0a7c68801f47c9d304304
parentc0e51394139822137ca090f23e60cfe0cad4d123
parent6b1891e2c04410ebaa1d6399aab56b6c7495d0ff
Merge #11499: [Qt] Add upload and download info to the peerlist (debug menu)

6b1891e2c Add Sent and Received information to the debug menu peer list (Aaron Golliver)
8e4aa35ff move human-readable byte formatting to guiutil (Aaron Golliver)

Pull request description:

  Makes the peer list display how much you've uploaded/downloaded from each peer.

  Here's a screenshot ~~[outdated](https://i.imgur.com/MhPbItp.png)~~, [current](https://i.imgur.com/K1htrVv.png) of how it looks. You can now sort to see who are the peers you've uploaded the most too.

  I also moved `RPCConsole::FormatBytes` to `guiutil::formatBytes` so I could use it in the peerlist

Tree-SHA512: 8845ef406e4cbe7f981879a78c063542ce90f50f45c8fa3514ba3e6e1164b4c70bb2093c4e1cac268aef0328b7b63545bc1dfa435c227f28fdb4cb0a596800f5