aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Includes: Cleanup around net main and walletJorge Timón2015-07-231-1/+0
| | | | | | -Move from .h to .cpp: in main, net and wallet -Remove unnecessary #include "main.h" -Cleanup some wallet files includes
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-10/+10
| | | | | | | | 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.
* fix lock issue for QT node diconnect and RPC disconnectnodeJonas Schnelli2015-06-191-1/+1
|
* [Qt] deselect peer when switching away from peers tab in RPC consolePhilip Kaufmann2015-06-111-15/+17
|
* [Qt] extend rpc console peers tabPhilip Kaufmann2015-06-111-6/+12
| | | | | - add node id, ping wait, whitelisted and common height - rephrase some labels to make them easier to understand for users
* Merge pull request #6217Wladimir J. van der Laan2015-06-091-1/+33
|\ | | | | | | 51fc672 [Qt] disconnect peers from peers tab via context menu (Philip Kaufmann)
| * [Qt] disconnect peers from peers tab via context menuPhilip Kaufmann2015-06-021-1/+33
| | | | | | | | | | - It is now allowed to disconnect peers from peers tab via right-click context menu. Peers are not permanently banned!
* | Remove JSON Spirit wrapper, remove JSON Spirit leftoversJonas Schnelli2015-06-041-4/+0
| | | | | | | | | | | | - implement find_value() function for UniValue - replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper - remove JSON Spirit sources
* | Convert tree to using univalue. Eliminate all json_spirit uses.Jeff Garzik2015-06-041-7/+11
|/
* [Qt] fix rpc console font size to flexible metricsJonas Schnelli2015-03-271-1/+0
| | | | should fix #5897
* [Qt] rework setNumBlocks to have blockDate as parameterPhilip Kaufmann2015-03-091-5/+4
| | | | - reduces some functional overhead and simplifies the code
* Merge pull request #5476Wladimir J. van der Laan2015-01-021-0/+1
|\ | | | | | | | | 73caf47 Display time offset in the debug window's Peers tab (Pavel Janík) 26a6bae Add time offset to getpeerinfo output (Pavel Janík)
| * Display time offset in the debug window's Peers tabPavel Janík2014-12-151-0/+1
| |
* | Adopt style colour for button iconsLuke Dashjr2014-12-271-2/+4
| |
* | Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | | | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* | Merge pull request #5470Wladimir J. van der Laan2014-12-191-1/+1
|\ \ | | | | | | | | | 78253fc Remove references to X11 licence (Michael Ford)
| * | Remove references to X11 licenceMichael Ford2014-12-161-1/+1
| |/
* | Merge pull request #5341Wladimir J. van der Laan2014-12-191-1/+1
|\ \ | | | | | | | | | | | | | | | 4709160 [Qt] fix a translation that occurs 2 times but was a little different (Philip Kaufmann) 50db7d9 [Qt] change some strings to reflect name change to Bitcoin Core (Philip Kaufmann) 2747f7c [Qt] fix missing plural form for a string in sendcoinsdialog (Philip Kaufmann)
| * | [Qt] change some strings to reflect name change to Bitcoin CorePhilip Kaufmann2014-12-021-1/+1
| |/
* | make all catch() arguments constPhilip Kaufmann2014-12-171-3/+3
| | | | | | | | | | | | | | - I saw this on http://en.cppreference.com/w/cpp/language/try_catch and thought it would be a good idea - also unify used format to better be able to search for exception uses in our codebase
* | [Qt] the RPC Console should be a QWidget to make window more independentJonas Schnelli2014-11-131-6/+7
|/ | | | - fix issue #5254
* Headers-first synchronizationPieter Wuille2014-10-141-1/+0
| | | | | | | | | | | | | | | Many changes: * Do not use 'getblocks', but 'getheaders', and use it to build a headers tree. * Blocks are fetched in parallel from all available outbound peers, using a limited moving window. When one peer stalls the movement of the window, it is disconnected. * No more orphan blocks. At all. We only ever request a block for which we have verified the headers, and store it to disk immediately. This means that a disk-fill attack would require PoW. * Require protocol version 31800 for every peer (released in december 2010). * No more syncnode (we sync from everyone we can, though limited to 1 during initial *headers* sync). * Introduce some extra named constants, comments and asserts.
* [Qt] include and file header cleanupPhilip Kaufmann2014-09-181-1/+3
| | | | | - alphabetical ordering - correct ordering own headers before normal headers etc.
* [Qt] tweak new peers tab in console windowPhilip Kaufmann2014-08-041-96/+59
| | | | | | | | | | | | | | | | | | | - 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
* [Qt] Fix segfault when launched with -disablewalletCozz Lovan2014-07-131-5/+24
|
* remove unneded class CNodeCombinedStats; from rpcconsole.cppPhilip Kaufmann2014-06-231-1/+2
| | | | - also 2 small style fixes
* add NetworkIDString() to chainparamsPhilip Kaufmann2014-06-121-1/+1
| | | | | | - returns the BIP70 network string - use that new function in the core and GUI code and remove unused code and functions
* [Qt] Improve rpc console history behaviorCozz Lovan2014-06-071-2/+2
|
* Fix GUI build with `--disable-wallet`Wladimir J. van der Laan2014-06-051-0/+2
| | | | fe6bff2 and 65f78a1 broke it. Minor build changes.
* [Qt] add BerkeleyDB version info to RPCConsolePhilip Kaufmann2014-06-041-1/+9
| | | | - to match info function between debug.log and RPCConsole
* [Qt] style police and small addition in rpcconsolePhilip Kaufmann2014-06-031-7/+8
| | | | - fix spaces, indentation and coding style glitches
* Qt: Add GUI view of peer information. #4133Ashley Holman2014-06-031-11/+181
|
* Remove NumBlocksOfPeersWladimir J. van der Laan2014-05-061-5/+3
| | | | | | | | | | | | | Generally useless information. Only updates on connect time, not after that. Peers can easily lie and the median filter is not effective in preventing that. In the past it was used for progress display in the GUI but `CheckPoints::guessVerificationProgress` provides a better way that is now used. It was too easy to mislead it. Peers do lie about it in practice, see issue #4065. From the RPC, `getpeerinfo` gives the peer raw values, which are more useful.
* Qt: Fix ESC in disablewallet modeWladimir J. van der Laan2014-03-181-0/+7
| | | | Fixes issue #3854
* [Qt] show number of in/out connections in debug consolePhilip Kaufmann2014-03-031-1/+8
|
* Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* [Qt] move helpmessage from debug window to main menuPhilip Kaufmann2014-01-221-8/+0
| | | | | - the option to show our help message dialog resides now in main menu under help
* [Qt] add utilitydialog.cpp/h and helpmessage classPhilip Kaufmann2014-01-181-2/+3
| | | | | | | - adds a nice and well formated dialog, which displays our -? help message (all options/paramaters) - moves aboutdialog.cpp/h to the new utilitydialog - move GUI shutdown window to utilitydialog
* qt: Treat regtest as testnetWladimir J. van der Laan2013-12-201-1/+1
| | | | | No need to do anything special in the GUI for regtest mode, but do treat it at testnet not mainnet to prevent confusion.
* Split up bitcoinrpc (code movement only)Wladimir J. van der Laan2013-11-271-1/+2
| | | | | | | | | | | | | | Split bitcoinrpc up into - rpcserver: bitcoind RPC server - rpcclient: bitcoin-cli RPC client - rpcprotocol: shared common HTTP/JSON-RPC protocol code One step towards making bitcoin-cli independent from the rest of the code, and thus a smaller executable that doesn't have to be linked against leveldb. This commit only does code movement, there are no functional changes.
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-6/+8
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* [Qt] rename rpcconsole windowPhilip Kaufmann2013-11-081-6/+2
| | | | | | | | | - rework window title to not include Bitcoin - in front, as no other dialog does this - favor a connect() call over an own function for clearing the traffic graph - write monospace lowercase (seems to be correct after some web search) and add a comment that we should avoid / remove fixed font sizes
* qt: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
| | | | Closes #839
* Revert "Switch to using raw_utf8"Jeff Garzik2013-10-221-2/+2
| | | | This reverts commit 2ecb7555a9df1e843fd25f588819e4ca1d94b266.
* Merge pull request #2740 from constantined/constantinedGavin Andresen2013-10-221-2/+2
|\ | | | | UTF-8 support for JSON-RPC
| * Switch to using raw_utf8constantined2013-07-231-2/+2
| |
* | Add network traffic graphScott Ellis2013-10-141-1/+54
| |
* | Bitcoin-Qt: save and restore position of debug windowPhilip Kaufmann2013-07-291-0/+2
| | | | | | | | | | | | - move the code for saving and restoring window positions from BitcoinGUI to GUIUtil, make it more generic and also use it for saving/restoring debug window positions
* | Bitcoin-Qt: harmonize 2 setClientModel() functionsPhilip Kaufmann2013-06-031-2/+4
|/ | | | | | - harmonize BitcoinGUI::setClientModel() and RPCConsole::setClientModel() - now RPCConsole::setClientModel() also includes a direct call to setNumBlocks()
* Qt5 compatibilityWladimir J. van der Laan2013-06-011-0/+2
| | | | | | | | | | | | This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <[email protected]> - Jonas Schnelli <[email protected]>