aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-11-04Merge pull request #3188 from Diapolo/logtimestamp_defWladimir J. van der Laan
make -logtimestamps default on and rework help-message
2013-11-04Merge pull request #3076 from lano1106/uint256_utilWladimir J. van der Laan
Make util phexdigit array reusable
2013-11-03process received messages one at a time without sleeping between messagesPatrick Strateman
2013-11-04Refactor: CTxMempool class to its own txmempool.{cpp,h}Gavin Andresen
2013-11-02make -logtimestamps default on and rework help-messagePhilip Kaufmann
2013-11-02Merge pull request #3087Pieter Wuille
caca6aa Make some globals in main non-public. (Pieter Wuille) 85eb2ce Do not use the redundant BestInvalidWork record in the block database. (Pieter Wuille)
2013-11-01Merge pull request #3128Gavin Andresen
0056095 Show short scriptPubKeys correctly (Peter Todd) 22de68d Relay OP_RETURN TxOut as standard transaction type (Peter Todd) Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
2013-11-01Merge pull request #3114Pieter Wuille
a616206 Give peer time-adjustment data an own lock (Pieter Wuille)
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-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-27Merge pull request #3164 from TheBlueMatt/masterGavin Andresen
Re-enable BitcoindComparisonTool on pull-tester
2013-10-27Make util phexdigit array reusableOlivier Langlois
class template base_uint had its own private lookup table. This is saving 256 bytes per instantiation. The result is not spectacular as bitcoin-qt has only shrinked of about 1Kb but it is still valid improvement. Also, I have replaced a for loop with a memset() call. Made CBigNum::SetHex() use the new HexDigit() function. Signed-off-by: Olivier Langlois <olivier@olivierlanglois.net>
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-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-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-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-26Give peer time-adjustment data an own lockPieter Wuille
Instead of relying on cs_main (defined in a different module) to prevent concurrent access to it.
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.
2013-10-25[Qt] additional small fix for #3099 (new receive flow)Philip Kaufmann
- remove an obsolete connection to a signMessage() signal