aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* Remove redundant forward declarationpracticalswift2018-07-181-2/+0
|
* [gui] Add proxy icon in statusbarCristian Mircea Messel2018-05-151-0/+11
|
* scripted-diff: Avoid `interface` keyword to fix windows gitian buildRussell Yanofsky2018-04-071-3/+3
| | | | | | | | | | | | | | | | | | 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/bantablemodel.cppRussell Yanofsky2018-04-041-1/+1
|
* Remove direct bitcoin calls from qt/peertablemodel.cppRussell Yanofsky2018-04-041-1/+1
|
* Remove direct bitcoin calls from qt/clientmodel.cppRussell Yanofsky2018-04-041-108/+40
|
* scripted-diff: Convert 11 enums into scoped enums (C++11)practicalswift2018-03-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- sed -i 's/enum DBErrors/enum class DBErrors/g' src/wallet/walletdb.h git grep -l DB_ | xargs sed -i 's/DB_\(LOAD_OK\|CORRUPT\|NONCRITICAL_ERROR\|TOO_NEW\|LOAD_FAIL\|NEED_REWRITE\)/DBErrors::\1/g' sed -i 's/^ DBErrors::/ /g' src/wallet/walletdb.h sed -i 's/enum VerifyResult/enum class VerifyResult/g' src/wallet/db.h sed -i 's/\(VERIFY_OK\|RECOVER_OK\|RECOVER_FAIL\)/VerifyResult::\1/g' src/wallet/db.cpp sed -i 's/enum ThresholdState/enum class ThresholdState/g' src/versionbits.h git grep -l THRESHOLD_ | xargs sed -i 's/THRESHOLD_\(DEFINED\|STARTED\|LOCKED_IN\|ACTIVE\|FAILED\)/ThresholdState::\1/g' sed -i 's/^ ThresholdState::/ /g' src/versionbits.h sed -i 's/enum SigVersion/enum class SigVersion/g' src/script/interpreter.h git grep -l SIGVERSION_ | xargs sed -i 's/SIGVERSION_\(BASE\|WITNESS_V0\)/SigVersion::\1/g' sed -i 's/^ SigVersion::/ /g' src/script/interpreter.h sed -i 's/enum RetFormat {/enum class RetFormat {/g' src/rest.cpp sed -i 's/RF_\(UNDEF\|BINARY\|HEX\|JSON\)/RetFormat::\1/g' src/rest.cpp sed -i 's/^ RetFormat::/ /g' src/rest.cpp sed -i 's/enum HelpMessageMode {/enum class HelpMessageMode {/g' src/init.h git grep -l HMM_ | xargs sed -i 's/HMM_BITCOIN/HelpMessageMode::BITCOIN/g' sed -i 's/^ HelpMessageMode::/ /g' src/init.h sed -i 's/enum FeeEstimateHorizon/enum class FeeEstimateHorizon/g' src/policy/fees.h sed -i 's/enum RBFTransactionState/enum class RBFTransactionState/g' src/policy/rbf.h git grep -l RBF_ | xargs sed -i 's/RBF_TRANSACTIONSTATE_\(UNKNOWN\|REPLACEABLE_BIP125\|FINAL\)/RBFTransactionState::\1/g' sed -i 's/^ RBFTransactionState::/ /g' src/policy/rbf.h sed -i 's/enum BlockSource {/enum class BlockSource {/g' src/qt/clientmodel.h git grep -l BLOCK_SOURCE_ | xargs sed -i 's/BLOCK_SOURCE_\(NONE\|REINDEX\|DISK\|NETWORK\)/BlockSource::\1/g' sed -i 's/^ BlockSource::/ /g' src/qt/clientmodel.h sed -i 's/enum FlushStateMode {/enum class FlushStateMode {/g' src/validation.cpp sed -i 's/FLUSH_STATE_\(NONE\|IF_NEEDED\|PERIODIC\|ALWAYS\)/FlushStateMode::\1/g' src/validation.cpp sed -i 's/^ FlushStateMode::/ /g' src/validation.cpp sed -i 's/enum WitnessMode {/enum class WitnessMode {/g' src/test/script_tests.cpp sed -i 's/WITNESS_\(NONE\|PKH\|SH\)/WitnessMode::\1/g' src/test/script_tests.cpp sed -i 's/^ WitnessMode::/ /g' src/test/script_tests.cpp -END VERIFY SCRIPT-
* Fix missing cs_main lock for GuessVerificationProgress()Jonas Schnelli2018-01-301-1/+1
|
* 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-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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-
* Avoid redundant redeclaration of GetWarnings(const string&)practicalswift2017-07-181-0/+1
| | | | | std::string GetWarnings(const std::string& strFor) is declared in warnings.h and defined in warnings.cpp.
* [RPC] Add an uptime command that displays the amount of time that bitcoind ↵Ricardo Velhote2017-06-251-2/+1
| | | | has been running
* Fixed multiple typosDimitris Tsapakidis2017-06-221-1/+1
| | | | | | | A few "a->an" and "an->a". "Shows, if the supplied default SOCKS5 proxy" -> "Shows if the supplied default SOCKS5 proxy". Change made on 3 occurrences. "without fully understanding the ramification of a command" -> "without fully understanding the ramifications of a command". Removed duplicate words such as "the the".
* Merge #10181: Include cleanupWladimir J. van der Laan2017-04-201-0/+1
|\ | | | | | | | | | | | | 1c897fc Missing includes (Jorge Timón) a1fd450 Trivial: Remove unneeded includes from .h: (Jorge Timón) Tree-SHA512: ada3e62cc2435e58172a88b380be371b717a05725956c15e5493b6e19fe2903e5e6e43fd22dc24699333a0e8a0c7b42eb1ae61b41cb4ba82495be18e2d4ef3c6
| * Missing includesJorge Timón2017-04-131-0/+1
| |
* | Set both time/height header caches at the same timeJonas Schnelli2017-04-201-0/+2
| |
* | Declare headers height/time cache mutable, re-set the methods constJonas Schnelli2017-04-201-2/+2
| |
* | Reduce cs_main locks during modal overlay by adding an atomic cacheJonas Schnelli2017-04-191-10/+25
|/
* Move tx estimation data out of CCheckPointDataPieter Wuille2017-01-041-1/+1
|
* [MOVEONLY] Move progress estimation out of checkpointsPieter Wuille2017-01-041-1/+1
|
* 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
|
* Merge #8996: Network activity toggleJonas Schnelli2016-11-111-0/+28
|\ | | | | | | | | | | | | | | | | 19f46f1 Qt: New network_disabled icon (Luke Dashjr) 54cf997 RPC/Net: Use boolean consistently for networkactive, and remove from getinfo (Luke Dashjr) b2b33d9 Overhaul network activity toggle (Jonas Schnelli) 32efa79 Qt: Add GUI feedback and control of network activity state. (Jon Lund Steffensen) e38993b RPC: Add "togglenetwork" method to toggle network activity temporarily (Jon Lund Steffensen) 7c9a98a Allow network activity to be temporarily suspended. (Jon Lund Steffensen)
| * Qt: Add GUI feedback and control of network activity state.Jon Lund Steffensen2016-10-241-0/+28
| | | | | | | | | | | | | | Add getNetworkActive()/setNetworkActive() method to client model. Send network active status through NotifyNetworkActiveChanged. Indicate in tool tip of gui status bar network indicator whether network activity is disabled. Indicate in debug window whether network activity is disabled and add button to allow user to toggle network activity state.
* | qt: Use correct conversion function for boost::path datadirWladimir J. van der Laan2016-11-071-1/+2
| | | | | | | | Fixes #9089.
* | [qt] sync-overlay: Don't block during reindexMarcoFalke2016-09-261-1/+1
| |
* | Merge #8371: [Qt] Add out-of-sync modal info layerJonas Schnelli2016-09-231-1/+17
|\ \ | |/ |/| | | | | | | | | | | | | | | 08827df [Qt] modalinfolayer: removed unused comments, renamed signal, code style overhaul (Jonas Schnelli) d8b062e [Qt] only update "amount of blocks left" when the header chain is in-sync (Jonas Schnelli) e3245b4 [Qt] add out-of-sync modal info layer (Jonas Schnelli) e47052f [Qt] ClientModel add method to get the height of the header chain (Jonas Schnelli) a001f18 [Qt] Always pass the numBlocksChanged signal for headers tip changed (Jonas Schnelli) bd44a04 [Qt] make Out-Of-Sync warning icon clickable (Jonas Schnelli) 0904c3c [Refactor] refactor function that forms human readable text out of a timeoffset (Jonas Schnelli)
| * [Qt] only update "amount of blocks left" when the header chain is in-syncJonas Schnelli2016-09-131-1/+9
| |
| * [Qt] ClientModel add method to get the height of the header chainJonas Schnelli2016-08-261-0/+8
| |
| * [Qt] Always pass the numBlocksChanged signal for headers tip changedJonas Schnelli2016-08-261-1/+1
| |
* | Do not shadow in src/qtPavel Janík2016-09-231-2/+2
| |
* | net: move send/recv statistics to CConnmanCory Fields2016-09-081-2/+6
| |
* | net: Add most functions needed for vNodes to CConnmanCory Fields2016-09-081-10/+12
|/
* qt: Remove client name from debug windowWladimir J. van der Laan2016-06-281-5/+0
| | | | | Remove the client name from the debug window in the GUI. It is already part of the user agent, so adding it separately doesn't add anything.
* Report reindexing progress in GUIPieter Wuille2016-05-171-6/+12
|
* [Qt] remove unused formatBuildDate methodJonas Schnelli2016-03-241-5/+0
|
* [Qt] Debug window: replace "Build date" with "Datadir"Jonas Schnelli2016-03-221-0/+5
| | | | | The build date does only makes sense for custom/self-compiled bitcoin-core versions because we are using static build-dates for our deterministic release builds. Having a quick option to get the current datadir is much more valuable for debug purposes.
* Update alert notification and GUIBtcDrak2016-03-181-20/+6
|
* Remove p2p alert handlingBtcDrak2016-03-181-1/+0
|
* Typo fixes in commentsChris Wheeler2016-01-171-1/+1
|
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Merge pull request #7141Wladimir J. van der Laan2015-12-011-1/+1
|\ | | | | | | aabc897 rpc: Don't translate warning messages (Wladimir J. van der Laan)
| * rpc: Don't translate warning messagesWladimir J. van der Laan2015-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | But keep translating them in the GUI. This - necessarily - requires duplication of a few messages. Alternative take on #7134, that keeps the translations from being wiped. Also document GetWarnings() input argument. Fixes #5895.
* | qt: use QMetaObject::invokeMethod for cross-thread signaling in clientmodelWladimir J. van der Laan2015-12-011-1/+4
|/ | | | | | | It's surprising to me that Q_EMIT even worked for this. But it doesn't build in Qt4, so switch back to `QMetaObject::invokeMethod`. Fixes #7138.
* [Qt] call GuessVerificationProgress synchronous during core signal, pass ↵Jonas Schnelli2015-11-301-4/+9
| | | | double over UI signal
* [Qt] reduce cs_main in getVerificationProgress()Jonas Schnelli2015-11-301-4/+5
|
* [Qt] update block tip (height and date) without locking cs_main, update ↵Jonas Schnelli2015-11-301-30/+23
| | | | always (each block)
* [Qt] simple mempool info in debug windowJonas Schnelli2015-11-201-0/+12
|