aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-01Make some globals in main non-public.Pieter Wuille
This means they are declared static, and their extern definition in main.h is removed. Also moved CBlockIndexWorkComparator to the .cpp file.
2013-11-01Do not use the redundant BestInvalidWork record in the block database.Pieter Wuille
As block index entries have a flag for marking invalid blocks, the 'best invalid work' information can be derived from there. In addition, remove the global from main.h
2013-10-31Merge pull request #3159Wladimir J. van der Laan
9eb4ab6 transactionview: make exportClicked() use message() (Philip Kaufmann) 868d3ee transactionview: add message() signal (Philip Kaufmann)
2013-10-31Merge pull request #3189Wladimir J. van der Laan
71ba467 [Qt] sendcoinsdialog: convert QMessageBox usage to message() (Philip Kaufmann)
2013-10-30Merge pull request #3067 from Diapolo/debug-switchGavin Andresen
re-work -debug switch handling
2013-10-30[Qt] sendcoinsdialog: convert QMessageBox usage to message()Philip Kaufmann
- add new processSendCoinsReturn() function, which parses the status of WalletModel::SendCoinsReturn and generates a pair consisting of a message and message flags - result is we only need one emit message() call - this change ensures that the GUI is shown for warnings/errors in sendcoinsdialog, because of message() taking care of that for modal messages - changes 2 warning message into error messages and removed "Error:" in front of the actual error message string
2013-10-30transactionview: make exportClicked() use message()Philip Kaufmann
- use message() for displaying success or failure of export - rework the strings to be more detailed / informative - additional small cleanups
2013-10-30transactionview: add message() signalPhilip Kaufmann
- allow to use message() in transactionview by connecting to the message() signal in WalletView
2013-10-30Merge pull request #3160 from Diapolo/walletviewWladimir J. van der Laan
[Qt] walletview: make backupWallet() use GUIUtil::getSaveFileName()
2013-10-30re-work -debug switch handlingPhilip Kaufmann
- re-work -debug help message text - make -debug log every debugging information again (even all categories) - remove unneeded fDebug checks in front of LogPrint()/qDebug(), as that check is done in LogPrintf() when category is != NULL (true for all LogPrint() calls - remove fDebug ONLY in code which is NOT performance-critical - harmonize addrman category name - deprecate -debugnet usage, should be used via -debug=net and remove the corresponding global
2013-10-30Merge pull request #3176 from Diapolo/keyGavin Andresen
fix wrong memcmp() usage in CKey::operator==
2013-10-30Merge pull request #3173 from gavinandresen/fuzzmessagesGavin Andresen
-fuzzmessagestest=N : randomly corrupt 1-of-N sent messages
2013-10-29Merge pull request #3115 from sipa/walletmainGavin Andresen
Interaction cleanups between main and wallet
2013-10-29Merge pull request #3162 from sipa/saninsertWladimir J. van der Laan
Remove redundant insert method in serialize
2013-10-29-fuzzmessagestest=N : randomly corrupt 1-of-N sent messagesGavin Andresen
I needed this to test the new "reject" p2p message, but it should be generally useful for fuzz-testing network message handling code.
2013-10-29Bug fix: CDataStream::GetAndClear() when nReadPos > 0Gavin Andresen
Changed CDataStream::GetAndClear() to use the most obvious get get and clear instead of a tricky swap(). Added a unit test for CDataStream insert/erase/GetAndClear. Note: GetAndClear() is not performance critical, it is used only by the send-a-message-to-the-network code. Bug was not noticed before now because the send-a-message code never erased from the stream.
2013-10-28fix wrong memcmp() usage in CKey::operator==Philip Kaufmann
- add a check for CKey::size() of a and b (size can be 0 or 32) - change the fixed value in memcmp() to use a.size() instead - fixes #3090
2013-10-28Merge pull request #3163 from sipa/allunspendableGregory Maxwell
Generalize the remove-outputs check for fully-prunable transactions.
2013-10-28Generalize the remove-outputs check for fully-prunable transactions.Pieter Wuille
Instead of explicitly testing for the presence of any output, and dealing with this case specially, just interpret it as an empty CCoins. The case previously caught using the HaveCoins check, is now handled by the generic outs != outsBlock test.
2013-10-28qt: make receive coins tab look more consistent with send coins tabWladimir J. van der Laan
Use a GridLayout instead of a FormLayout. This makes the alignment of the labels consistent between the tabs.
2013-10-28Merge pull request #3175 from TheBlueMatt/masterWladimir J. van der Laan
Missed RPC port
2013-10-28Missed an RPC portMatt Corallo
2013-10-28Merge pull request #3174 from TheBlueMatt/masterWladimir J. van der Laan
Re-enable Jenkins and run more tests on Jenkins than pull-tester gets
2013-10-28Fix port binding by listening on port $BASHPIDMatt Corallo
2013-10-28Run block tester and test suite on Windows too (only on Jenkins)Matt Corallo
2013-10-28Gracefully handle the case when a DISTDIR already existsMatt Corallo
2013-10-27Merge pull request #3164 from TheBlueMatt/masterGavin Andresen
Re-enable BitcoindComparisonTool on pull-tester
2013-10-28pull-tester.py: Re-enable coverage msg, new args to run test scriptMatt Corallo
2013-10-28Make large-reorg tests optional in block-testerMatt Corallo
2013-10-27walletview: clarify 2 commentsPhilip Kaufmann
2013-10-27walletview: make backupWallet() use GUIUtil::getSaveFileName()Philip Kaufmann
- this allows removal of several Qt headers and makes use of a standardized function in GUIUtil - adds selected path to the UI output
2013-10-27Merge pull request #3158 from Diapolo/guiutilWladimir J. van der Laan
GUIUtil: make getSaveFileName() use native OS path separators
2013-10-27Merge pull request #3165 from laanwj/2013_10_english_langWladimir J. van der Laan
qt: english language update
2013-10-27qt: english language updateWladimir J. van der Laan
2013-10-27Merge pull request #3150 from Diapolo/miscWladimir J. van der Laan
[Qt] additional small fixes for #3099 (new receive flow)
2013-10-27Merge pull request #3151 from laanwj/2013_10_walletviewWladimir J. van der Laan
qt: clean up signal handling in walletframe/walletview
2013-10-27qt: clean up signal handling in walletframe/walletviewWladimir J. van der Laan
Use proper signals everywhere. Removes the need to store a pointer to the BitcoinGUI object in the walletview. Also removes the interdependence between setWalletModel / setBitcoinGUI.
2013-10-27Re-enable BitcoindComparisonTool:Matt Corallo
* Use the latest version, with limited memory usage, and path to on-disk db (try mouting qa/tmp on a tmpfs)\ * enable -debug=net * re-enable BitcoindComparisonTool in pull-tester
2013-10-27Fix comparison tool by asking for blocks more aggressivelyMatt Corallo
2013-10-26[Qt] additional small fixes for #3099 (new receive flow)Philip Kaufmann
- remove 2 unneeded windowTitle attributes, which bloat our translations - cleanup some unneeded .cpp/.h includes and class usages - use a more generic string for clearing sendcoinsdialog and requestpaymentdialog - edit 2 strings in BitcoinGUI and replace "edit" with "show" as this seems more clear in the context where it is used
2013-10-26Remove redundant insert method in serialize.Pieter Wuille
This seems to cause problems on recent clang, and looks totally redundant and unused. The const_iterator version is identical to the vector::const_iterator one (which is a typedef thereof). Marking it private (instead of removing) compiles fine, so this version is effectively unused even.
2013-10-26GUIUtil: make getSaveFileName() use native OS path separatorsPhilip Kaufmann
2013-10-26Merge pull request #3153Pieter Wuille
1f3d364 Send multiple inv messages if mempool.size > MAX_INV_SZ (Gavin Andresen)
2013-10-26Break dependency of init on wallet.Pieter Wuille
This required some code movement (what was CWalletTx::AcceptToMemoryPool doing in main?), and adding a few explicit includes that used to be implicit through init.h.
2013-10-26Use boost signals for callbacks from main to walletPieter Wuille
2013-10-26Remove broken PrintWallet functionalityPieter Wuille
2013-10-26Do not treat fFromMe transaction differently when broadcastingPieter Wuille
2013-10-26Send multiple inv messages if mempool.size > MAX_INV_SZGavin Andresen
Changes the response to the 'mempool' command so that if the memory pool has more than MAX_INV_SZ transactions (50,000) it will respond with multiple 'inv' messages.
2013-10-25Merge pull request #3144 from Diapolo/message_sendcoinsdialogWladimir J. van der Laan
allow emit message() in sendcoinsdialog and walletview
2013-10-25qt: ReceiveCoinsDialog and SendCoinsDialog should not take a gui objectWladimir J. van der Laan
They're supposed to be children of the walletview, and are added with addWidget later on. Inconsequential change because the object passed was already 0.