aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
AgeCommit message (Collapse)Author
2015-07-15qt: define QT_NO_KEYWORDSWladimir J. van der Laan
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.
2015-06-19fix lock issue for QT node diconnect and RPC disconnectnodeJonas Schnelli
2015-06-11[Qt] deselect peer when switching away from peers tab in RPC consolePhilip Kaufmann
2015-06-11[Qt] extend rpc console peers tabPhilip Kaufmann
- add node id, ping wait, whitelisted and common height - rephrase some labels to make them easier to understand for users
2015-06-09Merge pull request #6217Wladimir J. van der Laan
51fc672 [Qt] disconnect peers from peers tab via context menu (Philip Kaufmann)
2015-06-04Remove JSON Spirit wrapper, remove JSON Spirit leftoversJonas Schnelli
- implement find_value() function for UniValue - replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper - remove JSON Spirit sources
2015-06-04Convert tree to using univalue. Eliminate all json_spirit uses.Jeff Garzik
2015-06-02[Qt] disconnect peers from peers tab via context menuPhilip Kaufmann
- It is now allowed to disconnect peers from peers tab via right-click context menu. Peers are not permanently banned!
2015-03-27[Qt] fix rpc console font size to flexible metricsJonas Schnelli
should fix #5897
2015-03-09[Qt] rework setNumBlocks to have blockDate as parameterPhilip Kaufmann
- reduces some functional overhead and simplifies the code
2015-01-02Merge pull request #5476Wladimir J. van der Laan
73caf47 Display time offset in the debug window's Peers tab (Pavel Janík) 26a6bae Add time offset to getpeerinfo output (Pavel Janík)
2014-12-27Adopt style colour for button iconsLuke Dashjr
2014-12-19Added "Core" to copyright headerssandakersmann
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-19Merge pull request #5470Wladimir J. van der Laan
78253fc Remove references to X11 licence (Michael Ford)
2014-12-19Merge pull request #5341Wladimir J. van der Laan
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)
2014-12-17make all catch() arguments constPhilip Kaufmann
- 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
2014-12-16Remove references to X11 licenceMichael Ford
2014-12-15Display time offset in the debug window's Peers tabPavel Janík
2014-12-02[Qt] change some strings to reflect name change to Bitcoin CorePhilip Kaufmann
2014-11-13[Qt] the RPC Console should be a QWidget to make window more independentJonas Schnelli
- fix issue #5254
2014-10-14Headers-first synchronizationPieter Wuille
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.
2014-09-18[Qt] include and file header cleanupPhilip Kaufmann
- alphabetical ordering - correct ordering own headers before normal headers etc.
2014-08-04[Qt] tweak new peers tab in console windowPhilip Kaufmann
- 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
2014-07-13[Qt] Fix segfault when launched with -disablewalletCozz Lovan
2014-06-23remove unneded class CNodeCombinedStats; from rpcconsole.cppPhilip Kaufmann
- also 2 small style fixes
2014-06-12add NetworkIDString() to chainparamsPhilip Kaufmann
- returns the BIP70 network string - use that new function in the core and GUI code and remove unused code and functions
2014-06-07[Qt] Improve rpc console history behaviorCozz Lovan
2014-06-05Fix GUI build with `--disable-wallet`Wladimir J. van der Laan
fe6bff2 and 65f78a1 broke it. Minor build changes.
2014-06-04[Qt] add BerkeleyDB version info to RPCConsolePhilip Kaufmann
- to match info function between debug.log and RPCConsole
2014-06-03[Qt] style police and small addition in rpcconsolePhilip Kaufmann
- fix spaces, indentation and coding style glitches
2014-06-03Qt: Add GUI view of peer information. #4133Ashley Holman
2014-05-06Remove NumBlocksOfPeersWladimir J. van der Laan
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.
2014-03-18Qt: Fix ESC in disablewallet modeWladimir J. van der Laan
Fixes issue #3854
2014-03-03[Qt] show number of in/out connections in debug consolePhilip Kaufmann
2014-02-09Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron
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.
2014-01-22[Qt] move helpmessage from debug window to main menuPhilip Kaufmann
- the option to show our help message dialog resides now in main menu under help
2014-01-18[Qt] add utilitydialog.cpp/h and helpmessage classPhilip Kaufmann
- 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
2013-12-20qt: Treat regtest as testnetWladimir J. van der Laan
No need to do anything special in the GUI for regtest mode, but do treat it at testnet not mainnet to prevent confusion.
2013-11-27Split up bitcoinrpc (code movement only)Wladimir J. van der Laan
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.
2013-11-10Cleanup code using forward declarations.Brandon Dahler
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.
2013-11-08[Qt] rename rpcconsole windowPhilip Kaufmann
- 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
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-10-22Revert "Switch to using raw_utf8"Jeff Garzik
This reverts commit 2ecb7555a9df1e843fd25f588819e4ca1d94b266.
2013-10-22Merge pull request #2740 from constantined/constantinedGavin Andresen
UTF-8 support for JSON-RPC
2013-10-14Add network traffic graphScott Ellis
2013-07-29Bitcoin-Qt: save and restore position of debug windowPhilip Kaufmann
- 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
2013-07-23Switch to using raw_utf8constantined
2013-06-03Bitcoin-Qt: harmonize 2 setClientModel() functionsPhilip Kaufmann
- harmonize BitcoinGUI::setClientModel() and RPCConsole::setClientModel() - now RPCConsole::setClientModel() also includes a direct call to setNumBlocks()
2013-06-01Qt5 compatibilityWladimir J. van der Laan
This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <phil.kaufmann@t-online.de> - Jonas Schnelli <jonas.schnelli@include7.ch>
2013-04-02Bitcoin-Qt: small RPCConsole cleanupPhilip Kaufmann
- add missing initalisation for clientModel - remove unneded RPCExecutor::start() code