aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
Commit message (Collapse)AuthorAgeFilesLines
* add NetworkIDString() to chainparamsPhilip Kaufmann2014-06-121-2/+0
| | | | | | - returns the BIP70 network string - use that new function in the core and GUI code and remove unused code and functions
* VerifyDB progressCozz Lovan2014-06-031-0/+3
|
* Qt: Add GUI view of peer information. #4133Ashley Holman2014-06-031-0/+3
|
* Remove NumBlocksOfPeersWladimir J. van der Laan2014-05-061-4/+1
| | | | | | | | | | | | | 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] show number of in/out connections in debug consolePhilip Kaufmann2014-03-031-1/+9
|
* qt: Treat regtest as testnetWladimir J. van der Laan2013-12-201-2/+2
| | | | | No need to do anything special in the GUI for regtest mode, but do treat it at testnet not mainnet to prevent confusion.
* [Qt] small notificator and style changesPhilip Kaufmann2013-12-031-1/+1
| | | | | | - remove default arguments for notificator - re-order some calls to use same ordering in Qt files - style police changes (spaces, comments and such)
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-1/+2
| | | | | | | | | 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: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
| | | | Closes #839
* Add network traffic graphScott Ellis2013-10-141-0/+4
|
* Bitcoin-Qt: Use qDebug() for printing to debug.logPhilip Kaufmann2013-09-061-2/+2
| | | | | - removes all usages of PrintDebugStringF from Qt code - ensure same format for all debug.log messages "functionname : Message"
* rework ClientModel::getBlockSource() + BitcoinGUI::setNumBlocks()Philip Kaufmann2013-04-101-2/+2
| | | | | | | | - updates ClientModel::getBlockSource() to return all available states and sorts enum BlockSource in order of usage cases (none default, then reindex, import and network) - updates BitcoinGUI::setNumBlocks() to better use getBlockSource() and also adds a message, when we have NO block source available
* Bitcoin-Qt: emit numBlocksChanged for changed reindex or importing statePhilip Kaufmann2013-04-061-0/+2
| | | | | - this allows our progressbarlabel to correctly update, when we finish a reindex or import, but do not get new blocks from other sources
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-0/+2
| | | | | | | - try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
* Transactions-based verification progressPieter Wuille2013-02-161-0/+1
|
* Bitcoin-Qt: remove obsolete modal flag from GUI APIsPhilip Kaufmann2012-12-031-1/+1
| | | | | - as we (can) supply the CClientUIInterface::MODAL flag via the style parameter, we don't need a separate bool for checking the modality
* update CClientUIInterface and remove orphan Wx stuffPhilip Kaufmann2012-11-261-2/+2
| | | | | | | | | | | | | | | | | | | | - fix ThreadSafeMessageBox always displays error icon - allow to specify MSG_ERROR / MSG_WARNING or MSG_INFORMATION without a custom caption / title - allow to specify CClientUIInterface::ICON_ERROR / ICON_WARNING and ICON_INFORMATION (which is default) as message box icon - remove CClientUIInterface::OK from ThreadSafeMessageBox-calls, as the OK button will be set as default, if none is specified - prepend "Bitcoin - " to used captions - rename BitcoinGUI::error() -> BitcoinGUI::message() and add function documentation - change all style parameters and enum flags to unsigned - update code to use that new API - update Client- and WalletModel to use new BitcoinGUI::message() and rename the classes error() method into message() - include the possibility to supply the wanted icon for messages from Client- and WalletModel via "style" parameter
* Add -reindex, to perform in-place reindexing of block chain filesPieter Wuille2012-11-091-1/+8
| | | | | | | Flushes the blktree/ and coins/ databases, and reindexes the block chain files, as if their contents was loaded via -loadblock. Based on earlier work by Jeff Garzik.
* Show warning when using prerelease versionWladimir J. van der Laan2012-10-251-0/+2
| | | | | | | | | | | Implements #1948 - Add macro `CLIENT_VERSION_IS_RELEASE` to clientversion.h - When running a prerelease (the above macro is `false`): - In UI, show an orange warning bar at the top. This will be used for other warnings (and alerts) as well, instead of the status bar. - For `bitcoind`, show the warning in the "errors" field in `getinfo` response.
* Move external block import to separate threadPieter Wuille2012-10-201-0/+2
|
* add client startup time as an entry to debug.log (note: logged time in ↵Philip Kaufmann2012-05-231-1/+1
| | | | debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString
* Convert UI interface to boost::signals2.Wladimir J. van der Laan2012-05-201-0/+3
| | | | | | | | - Signals now go directly from the core to WalletModel/ClientModel. - WalletModel subscribes to signals on CWallet: Prepares for multi-wallet support, by no longer assuming an implicit global wallet. - Gets rid of noui.cpp, the few lines that were left are merged into init.cpp - Rename wxXXX message flags to MF_XXX, to make them UI indifferent. - ThreadSafeMessageBox no longer returns the value `4` which was never used, converted to void.
* Fine-grained UI updatesWladimir J. van der Laan2012-05-201-6/+8
| | | | | | | | | | | | | | | | | | | Gets rid of `MainFrameRepaint` in favor of specific update functions that tell the UI exactly what changed. This improves the efficiency of various handlers. Also fixes problems with mined transactions not showing up until restart. The following notifications were added: - `NotifyBlocksChanged`: Block chain changed - `NotifyKeyStoreStatusChanged`: Wallet status (encrypted, locked) changed. - `NotifyAddressBookChanged`: Address book entry changed. - `NotifyTransactionChanged`: Wallet transaction added, removed or updated. - `NotifyNumConnectionsChanged`: Number of connections changed. - `NotifyAlertChanged`: New, updated or cancelled alert. As this finally makes it possible for the UI to know when a new alert arrived, it can be shown as OS notification. These notifications could also be useful for RPC clients. However, currently, they are ignored in bitcoind (in noui.cpp). Also brings back polling with timer for numBlocks in ClientModel. This value updates so frequently during initial download that the number of signals clogs the UI thread and causes heavy CPU usage. And after initial block download, the value changes so rarely that a delay of half a second until the UI updates is unnoticable.
* add the client startup time to the debug window / rename Version label to ↵Philip Kaufmann2012-05-121-0/+1
| | | | Client, which is better suiting now / add IBeamCursor for selectable text on the information page / make ">" sign on RPC page untranslatable / re-order XML-file tags to match real GUI element order
* Add UI RPC console / debug windowWladimir J. van der Laan2012-05-051-0/+1
|
* Build identification stringsPieter Wuille2012-04-101-0/+1
| | | | | | | | | | | | | | | | | | All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, using git describe. The git export-subst attribute is used to put the commit id statically in version.cpp inside generated archives, and this value is used if no build.h is present. The gitian descriptors are modified to use git archive instead of a copy, to create the src/ directory in the output. This way, src/src/version.cpp will contain the static commit id. To prevent gitian builds from getting the "-dirty" marker in their git-describe generated identifiers, no touching of files or running sed on the makefile is performed anymore. This does not seem to influence determinism.
* qtui.h/noui.h interface cleanupWladimir J. van der Laan2012-04-041-1/+1
| | | | | | | - rename wxMessageBox, remove redundant arguments to noui/qtui calls - also, add flag to force blocking, modal dialog box for disk space warning etc - clarify function naming - no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
* Update UI through async calls MainFrameRepaint and AddressBookRepaint ↵Wladimir J. van der Laan2012-04-041-0/+1
| | | | | | | | instead of a timer. - Overall, this is better design - This fixes problems with the address book UI not updating when the address book is changed through RPC - Move Statusbar change detection responsibility to ClientModel
* Fix status bar not displaying Alerts.Matt Corallo2011-12-131-0/+2
|
* Improve documentation for UI classesWladimir J. van der Laan2011-11-131-5/+5
|
* clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' ↵Wladimir J. van der Laan2011-09-111-1/+1
| | | | blocks as initial value for number of peer blocks
* The synchronization progress bar now compares the amount of total blocks to ↵Janne Pulkkinen2011-09-111-0/+3
| | | | amount of blocks downloaded at application start-up. Could be probably implemented better.
* QtUI code cleanup / comment improvementsWladimir J. van der Laan2011-08-081-1/+1
|
* Remove no longer valid commentWladimir J. van der Laan2011-07-291-2/+0
|
* Full support for other units, add configuration option for default unit ↵Wladimir J. van der Laan2011-07-291-3/+1
| | | | (used when displaying amounts)
* make initial block download reporting somewhat better by tracking version ↵Wladimir J. van der Laan2011-07-171-0/+3
| | | | responses
* Display a "freshness" indicator instead of nr of blocksWladimir J. van der Laan2011-07-081-0/+6
|
* General cleanupsWladimir J. van der Laan2011-07-011-0/+2
|
* Make it very clear when on testnet (green icon, add [testnet] to title)Wladimir J. van der Laan2011-06-301-0/+2
|
* Split off WalletModel from ClientModel, to be able to support multi-wallets ↵Wladimir J. van der Laan2011-06-301-24/+7
| | | | in future
* update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)Wladimir J. van der Laan2011-06-261-1/+4
|
* allow adding address to address book in send dialogWladimir J. van der Laan2011-06-251-1/+1
|
* Allow changing default address (fixes issue #6)Wladimir J. van der Laan2011-06-211-4/+0
|
* On initial block chain download, show a progress barWladimir J. van der Laan2011-06-181-0/+2
|
* Prevent notification balloon-spam on initial block download, ↵Wladimir J. van der Laan2011-06-181-5/+8
| | | | const-correctness in client model
* move back to original directory structureWladimir J. van der Laan2011-06-111-0/+61