aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace remaining 0 with nullptr in Qt codeBen Woosley2019-01-131-4/+3
| | | | | | | Also used type-appropriate enum values such as Qt::NoItemFlags in some cases. All cases identified via -Wzero-as-null-pointer-constant
* Use C++11 default member initializersMarcoFalke2019-01-051-4/+2
|
* Make objects in range declarations immutable by default. Avoid unnecessary ↵practicalswift2018-08-271-1/+1
| | | | copying of objects in range declarations.
* qt: Use new Qt5 connect syntaxJoão Barbosa2018-08-211-1/+1
|
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* Merge #13537: GUI: Peer table: Visualize inbound/outbound state for every rowJonas Schnelli2018-07-011-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4132ad3bf Show symbol for inbound/outbound in peer table (wodry) Pull request description: Fixes #13483 The address in the network peer table is prefixed with an up-arrow symbolizing an outbound connection, or an down-array symbolizing an inbound connection. See screenshot. The user has an easy visual confirmation about the connection direction state. I really like it :) Impact to columns sorting is grouping by inbound/outbound first, which in my opinion is an advantage, too. ![bildschirmfoto](https://user-images.githubusercontent.com/8447873/41862752-13803eb2-78a5-11e8-9126-a52385f5ec19.png) Tree-SHA512: d355f679d34c3006743c06750be5f36a083c1a8376da8f5f35045fcd9df964153409946fdde5007734f23bd692c91355962dc42df31122cdcf88e4affce8bc0e
| * Show symbol for inbound/outbound in peer tablewodry2018-06-261-1/+2
| |
* | gui: Remove QT_VERSION fallbacks for Qt < 5Wladimir J. van der Laan2018-06-181-2/+0
|/ | | | | | | There were surprisingly many `#ifdef` fallbacks for Qt 4. Remiving them simplifies maintenance, as well as adding new GUI functionality.
* scripted-diff: Avoid `interface` keyword to fix windows gitian buildRussell Yanofsky2018-04-071-4/+4
| | | | | | | | | | | | | | | | | | Rename `interface` to `interfaces` Build failure reported by Chun Kuan Lee <[email protected]> https://github.com/bitcoin/bitcoin/pull/10244#issuecomment-379434756 -BEGIN VERIFY SCRIPT- git mv src/interface src/interfaces ren() { git grep -l "$1" | xargs sed -i "s,$1,$2,g"; } ren interface/ interfaces/ ren interface:: interfaces:: ren BITCOIN_INTERFACE_ BITCOIN_INTERFACES_ ren "namespace interface" "namespace interfaces" -END VERIFY SCRIPT-
* Remove direct bitcoin calls from qt/peertablemodel.cppRussell Yanofsky2018-04-041-23/+13
|
* Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
|
* scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider2017-11-161-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- for f in \ src/*.cpp \ src/*.h \ src/bench/*.cpp \ src/bench/*.h \ src/compat/*.cpp \ src/compat/*.h \ src/consensus/*.cpp \ src/consensus/*.h \ src/crypto/*.cpp \ src/crypto/*.h \ src/crypto/ctaes/*.h \ src/policy/*.cpp \ src/policy/*.h \ src/primitives/*.cpp \ src/primitives/*.h \ src/qt/*.cpp \ src/qt/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h \ src/rpc/*.cpp \ src/rpc/*.h \ src/script/*.cpp \ src/script/*.h \ src/support/*.cpp \ src/support/*.h \ src/support/allocators/*.h \ src/test/*.cpp \ src/test/*.h \ src/wallet/*.cpp \ src/wallet/*.h \ src/wallet/test/*.cpp \ src/wallet/test/*.h \ src/zmq/*.cpp \ src/zmq/*.h do base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f done -END VERIFY SCRIPT-
* Add Sent and Received information to the debug menu peer listAaron Golliver2017-10-161-3/+17
|
* scripted-diff: Remove Q_FOREACHJorge Timón2017-06-051-2/+2
| | | | | | -BEGIN VERIFY SCRIPT- sed -i 's/Q_FOREACH *(\(.*\),/for (\1 :/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ; -END VERIFY SCRIPT-
* scripted-diff: Fully remove BOOST_FOREACHJorge Timón2017-06-051-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- sed -i 's/BOOST_FOREACH *(\(.*\),/for (\1 :/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ; -END VERIFY SCRIPT-
* net: define NodeId as an int64_tCory Fields2017-04-121-1/+1
| | | | | This should make occurances of NodeId wrapping essentially impossible for real-world usage.
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
|
* Move network-msg-processing code out of main to its own fileMatt Corallo2016-12-021-0/+1
|
* qt: Plug many memory leaksWladimir J. van der Laan2016-11-231-2/+7
| | | | | | | | | None of these are very serious, and are leaks in objects that are created at most one time. In most cases this means properly using the QObject parent hierarchy, except for BanTablePriv/PeerTablePriv which are not QObject, so use a std::unique_ptr instead.
* Display minimum ping in debug window.R E Broadley2016-10-151-3/+3
|
* net: Add most functions needed for vNodes to CConnmanCory Fields2016-09-081-9/+6
|
* gui: add NodeID to the peer tableCory Fields2016-09-081-1/+5
|
* Merge pull request #7205Wladimir J. van der Laan2016-01-051-1/+1
|\ | | | | | | | | | | fa71669 [devtools] Use git pretty-format for year parsing (MarcoFalke) fa24439 Bump copyright headers to 2015 (MarcoFalke) fa6ad85 [devtools] Rewrite fix-copyright-headers.py (MarcoFalke)
| * Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
| |
* | Double semicolon cleanup.21E142015-12-301-1/+1
|/
* [trivial] Fix typo in peertablemodel.cppMarcoFalke2015-12-021-1/+1
|
* [Qt] minor optimisations in peertablemodelPhilip Kaufmann2015-08-101-13/+6
| | | | | | | | - remove an unneeded include of net.h in peertablemodel.cpp - add const after size() in PeerTablePriv - remove 2x unneeded else in functions - replace a (int) typecast by (QVariant) to use Qt style - remove unneeded include of peertablemodel.h from rpcconsole.cpp
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-4/+4
| | | | | | | | QT_NO_KEYWORDS prevents Qt from defining the `foreach`, `signals`, `slots` and `emit` macros. Avoid overlap between Qt macros and boost - for example #undef hackiness in #6421.
* [Qt] replace Boost foreach with Qt version peertablemodel.cppPhilip Kaufmann2015-06-111-2/+2
|
* [Qt] extend rpc console peers tabPhilip Kaufmann2015-06-111-0/+1
| | | | | - add node id, ping wait, whitelisted and common height - rephrase some labels to make them easier to understand for users
* GUI: Clarify terminology; use "Label" heading for labels row, and ↵Luke Dashjr2015-02-261-1/+1
| | | | "Node/Service" rather than [IP] "Address"
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* [Qt] Add TRY_LOCK back to peertablemodelCozz Lovan2014-08-101-2/+8
|
* [Qt] format ping times in peers tab as msPhilip Kaufmann2014-08-041-2/+5
| | | | - also align ping times to the right
* [Qt] tweak new peers tab in console windowPhilip Kaufmann2014-08-041-34/+30
| | | | | | | | | | | | | | | | | | | - remove starting height as table header and replace with ping time - remove columnResizingFixer - add local address (if available) in detailed node view (on top of the right view below the remote address) - remove some .c_str() by using QString::fromStdString() - rename Address to Address/Hostname - rename secs to just s for ping time - use MODEL_UPDATE_DELAY from guiconstants.h for the peer refresh time - make PeerTableModel::columnCount() return no hard-coded value - remove and cleanup dup private: section in RPCConsole header - add new defaults for column sizes - remove behaviour which keeps disconnected peers selected and also remove code which keeps track of last selected peer stats - add sync height to detail view - add some additional NULL pointer checks for clientModel in rpcconsole.cpp
* Merge pull request #4297Wladimir J. van der Laan2014-06-061-2/+2
|\ | | | | | | b917555 qt: PeerTableModel: Fix potential deadlock. #4296 (Ashley Holman)
| * qt: PeerTableModel: Fix potential deadlock. #4296Ashley Holman2014-06-061-2/+2
| |
* | [Qt] style police and small addition in rpcconsolePhilip Kaufmann2014-06-031-2/+0
|/ | | | - fix spaces, indentation and coding style glitches
* Qt: Add GUI view of peer information. #4133Ashley Holman2014-06-031-0/+238