aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
AgeCommit message (Collapse)Author
2013-12-20Allow `-noserver` with bitcoindWladimir J. van der Laan
Allow running bitcoind without server. - Default to -server mode (of course) for bitcoind with SoftSetBoolArg - Remove fForceServer argument from AppInit2 - Move fDaemon to a static variable in bitcoind
2013-12-20Merge pull request #3437Wladimir J. van der Laan
2ea980a qt: Treat regtest as testnet (Wladimir J. van der Laan)
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-12-19Merge pull request #3412Wladimir J. van der Laan
c3a7f51 Move `verifymessage` from rpcwallet to rpcmisc (Wladimir J. van der Laan) 723a03d Move `createmultisig` from rpcwallet to rpcmisc (Wladimir J. van der Laan) 452955f Move `validateaddress` from rpcwallet to rpcmisc (Wladimir J. van der Laan) cd7fa8b Move `nTransactionFee` from main.cpp to wallet.cpp (Wladimir J. van der Laan) a943bde Move `settxfee` from rpcblockchain to rpcwallet (Wladimir J. van der Laan) 16bc9aa Move `getinfo` from rpcnet to rpcmisc (Wladimir J. van der Laan) 652e156 add new RPC implementation file `rpcmisc.cpp` (Wladimir J. van der Laan)
2013-12-18Merge pull request #3415Wladimir J. van der Laan
4a61c39 qt: status WalletModel::Aborted is no longer used (Wladimir J. van der Laan) ca2c83d Remove unused ThreadSafeAskFee from ui_interface (Wladimir J. van der Laan) 37e67d3 Remove unused ThreadSafeHandleURI from ui_interface (Wladimir J. van der Laan)
2013-12-14Remove unused ThreadSafeAskFee from ui_interfaceWladimir J. van der Laan
ThreadSafeAskFee is effectively unused. It is only called when the fAskFee parameter on SendMoney or SendMoneyToDestination is true, which never happens. Remove it.
2013-12-13Move `nTransactionFee` from main.cpp to wallet.cppWladimir J. van der Laan
Transaction fee is only used by the wallet. No need for it to be in main.cpp.
2013-12-13Rebrand to `Bitcoin Core`Wladimir J. van der Laan
Only messages for now, executable names and other file names can be changed later if necessary and safe. Do not do an all-sweeping change. Some occurences of Bitcoin-Qt need to be kept: - Applicationname: this is used to determine the registry entry names, we don't want to lose settings over a silly name change. - Where it refers to the executable name instead of the product name.
2013-12-09[Qt] misc small Mac related changes/cleanupsPhilip Kaufmann
- cleanup Info.plist.in and specify high DPI mode enable command as per http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/ - move setting of QApplication::setAttribute() to bitcoin.cpp and add attribute for enabling use of high DPI pixmaps for Qt >= 5.1 - add missing setWindowTitle() on Mac - cleanup Mac / non-Mac setup in bitcoingui.cpp
2013-12-03[Qt] small notificator and style changesPhilip Kaufmann
- remove default arguments for notificator - re-order some calls to use same ordering in Qt files - style police changes (spaces, comments and such)
2013-11-13qt: GUI support for -disablewallet modeWladimir J. van der Laan
2013-11-11Merge pull request #3187 from Diapolo/netManagerWladimir J. van der Laan
[Qt] paymentserver: start netManager in uiReady()
2013-11-11qt: add Open URI dialogWladimir J. van der Laan
2013-11-11[Qt] paymentserver: start netManager in uiReady()Philip Kaufmann
- remove explicit init of netManager as this is done in the constructor anyway - move initNetManager() call to uiReady(), which removes an assert() and allows us to use message() in initNetManager() (currently unused but could be necessary because of proxy related messages) - make initNetManager() private - update paymentservertests.cpp
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-05Merge pull request #3196 from laanwj/2013_11_nohaveguiWladimir J. van der Laan
No more fHaveGUI
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-11-04No more fHaveGUIWladimir J. van der Laan
No more specific handling of GUI in bitcoin core. Replace the last usage of fHaveGUI with a fForceServer parameter on AppInit2.
2013-10-24Qt: move paymentACK handling to paymentserverPhilip Kaufmann
- add new slot handlePaymentACK() to paymentserver, which handles paymentACK messages (currently we just display them) - make paymentACK message a modal information dialog - change some QObject::tr() to just tr() - clarify the processPaymentRequest() error, when IsDust() - small string change to prevent a tripple + usage with QString
2013-10-19paymentserver: style fixes / cleanupPhilip Kaufmann
- rename reportError() into message() to be in line with our default message() signal/slot naming (and can be used for all types of messages) - rename some QStrings to not collide with message() function - add a missing message for malformed URIs that IS also used in BitcoinGUI - fix / extend some comments and misc style fixes
2013-09-28several small Qt-related fixesPhilip Kaufmann
- make BitcoinGUI::showPaymentACK() use a reference for msg and use our own GUIUtil::HtmlEscape() function - ensure QTimer usage in clientmodel is the same as in walletmodel - remove an unneeded debug message in walletframe - flag some parameters as unused in DebugMessageHandler() - small code formatting changes
2013-09-18Replace printf with LogPrintf / LogPrintGavin Andresen
2013-09-18Refactor: OutputDebugStringF -> LogPrint(category, ...)Gavin Andresen
2013-08-31Bitcoin-Qt: allow to differentiate Qt log entries from corePhilip Kaufmann
- prepend "Bitcoin-Qt" in front of debug.log entries, which come from Qt - move DebugMessageHandler installation upwards to the event handler installation, which fits much better
2013-08-29Bitcoin-Qt: fixes for using display unit from optionsPhilip Kaufmann
- extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
2013-08-24Bitcoin-Qt: add testnet check and icon to intro dialogPhilip Kaufmann
2013-08-22Payment Protocol: X509-validated payment requestsGavin Andresen
Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
2013-08-22Route qDebug() messages to debug.logGavin Andresen
2013-08-22Rework when payment server is startedGavin Andresen
2013-08-22update SelectParamsFromCommandLine() handling/orderPhilip Kaufmann
- move SelectParamsFromCommandLine() from init.cpp to bitcoin.cpp to allow to use TestNet() for Bitcoin-Qt instead of GetBoolArg("-testnet", false) - change order in bitcoind.cpp to match bitcoin.cpp functionality - hamonize error message strings for missing datadir and failing SelectParamsFromCommandLine() in bitcoin.cpp and bitcoind.cpp - use TestNet() call in splashscreen.cpp
2013-07-31Remove #define loop from util.hGavin Andresen
Replace the loop macro with while (true). The #define caused problems for Qt.
2013-07-23Bitcoin-Qt: fix QApplication includes to match our include defaultsPhilip Kaufmann
- move all QApplication includes to top of included Qt headers - undef our loop macro where it would cause compilation errors otherwise
2013-06-16qt: allow user to choose data directoryWladimir J. van der Laan
This adds an introduction screen that is shown when the client is first started in which the user can choose a data directory. It is also possible to force the intro screen to appear using command line argument `-choosedatadir`. The user is warned that the client will download and store 10Gb of data. The intro screen shows how much space is available on the device that contains the chosen directory and warns if this is less than the 10Gb. To make it possible to translate the introduction dialog, the initialization sequence is changed so that translations are loaded before the data directory. This has the by-effect that it is no longer possible to specify a language in bitcoin.conf inside the data directory.
2013-06-04build: add global var for whether or not the gui is enabledCory Fields
2013-06-03Merge branch 'master' of git://github.com/bitcoin/bitcoin into prefsFixJonas Schnelli
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch> Conflicts: bitcoin-qt.pro
2013-06-03MaxOSX: settings fixes (#2371)Jonas Schnelli
- Launch-At-Startup implementation for mac - Remove "Window" tab in settings Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-06-02Bitcoin-Qt: setup testnet GUI directlyPhilip Kaufmann
- this directly sets up all GUI elements that have testnet special-casing without first setting up main net stuff and changing afterwards (titles, icons etc.) - also fixes 2 wrong icons shown during testnet usage on our toolbar
2013-06-02Merge pull request #2588 from Diapolo/GetBoolArgWladimir J. van der Laan
remove GetBoolArg() fDefault parameter defaulting to false
2013-06-01remove GetBoolArg() fDefault parameter defaulting to falsePhilip Kaufmann
- explicitly set the default of all GetBoolArg() calls - rework getarg_test.cpp and util_tests.cpp to cover this change - some indentation fixes - move macdockiconhandler.h include in bitcoin.cpp to the "our headers" section
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-05-04Merge pull request #2577 from gavinandresen/fee_bandaidGavin Andresen
Treat dust outputs as non-standard, un-hardcode TX_FEE constants
2013-05-04Merge pull request #2606 from gavinandresen/threadfixPieter Wuille
Exit cleanly if AppInit2 returns false
2013-05-03Un-hardcode TX_FEE constantsGavin Andresen
Allow setting of MIN_TX_FEE / MIN_RELAY_TX_FEE with -mintxfee / -mintxrelayfee Default values are the same (0.0001 BTC).
2013-05-03osx: show testnet icon in dock as early as possibleJonas Schnelli
A green testnet splashscreen with a normal, orange dock icon looks strange and can confuse users. Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-05-02Exit cleanly if AppInit2 returns falseGavin Andresen
Bitcoin-Qt could core dump if application initialization failed in certain ways. I double-fixed this: 1) qt/bitcoin.cpp now shuts down core threads cleanly if AppInit2 returns false 2) init.cpp now exits before StartNode() if strErrors is set (no reason to StartNode if we're just going to exit immediately anyway). Tested by triggering all of the various ways AppInit2 can fail, either by passing bogus command-line arguments or just recompiling tweaked code to simulate failure. This is a partial fix for #2480
2013-04-23Merge pull request #2526 from Diapolo/Qt_miscWladimir J. van der Laan
Bitcoin-Qt: misc small changes
2013-04-18Merge pull request #2525 from laanwj/2013_04_metatypeboolWladimir J. van der Laan
qt: register metatype for bool*
2013-04-17new splash screenJonas Schnelli
why: - the current splash-screen has no referring to official images on - https://en.bitcoin.it/wiki/Promotional_graphics - the current splash screen only exists in a low res jpg - current splash screen looks dark and "hackish" - new splash screen should generate positive, "trust-emotions". - new splash screen gives the user infos about the running client. - new splash screen can handle long messages (in a lot of - languages the text is cropped in current release) - new size (x2) 400x312 - contains textual information about the client - textinfos are dynamicly written to the pixmap when -testnet is switch on, the splashscreen will show the bitcoin logo in testnet-color (as well as a text [testnet]) example: https://dl.dropbox.com/u/7383846/new_bitcoin_splash.png
2013-04-14bitcoin: use static QApplication:: instead of app.Philip Kaufmann
2013-04-14qt: register metatype for bool*Wladimir J. van der Laan
This allows the bool* type to be passed between threads. Should solve issue #2402.