aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-04-17Merge remote-tracking branch 'jgarzik/mempool'Pieter Wuille
2012-04-17Merge pull request #1117 from sipa/deadlockfixPieter Wuille
Fix potential deadlock
2012-04-17Further reduce header dependenciesPieter Wuille
This commit removes the dependency of serialize.h on PROTOCOL_VERSION, and makes this parameter required instead of implicit. This is much saner, as it makes the places where changing a version number can have an influence obvious.
2012-04-17Move proto version to version.h. Reduce header deps a bit more.Jeff Garzik
2012-04-17Move CWalletDB code to new walletdb module.Jeff Garzik
In addition to standard code separation, this change opens the door to fixing several include inter-dependencies.
2012-04-17Remove headers.hPieter Wuille
2012-04-17Merge pull request #1106 from jgarzik/sign-compareGavin Andresen
Fix many sign-comparison warnings found in bitcoin codebase
2012-04-17Merge pull request #1115 from laanwj/2012_04_cleanupmiscGavin Andresen
Delete unused, unreachable and commented code, add missing initializer
2012-04-17Fix potential deadlockPieter Wuille
Conflict: * cs_main in ProcessMessages() (before calling ProcessMessages) * cs_vSend in CNode::BeginMessage versus: * cs_vSend in ThreadMessageHandler2 (before calling SendMessages) * cs_main in SendMessages Even though cs_vSend is a try_lock, if it succeeds simultaneously with the locking of cs_main in ProcessMessages(), it could cause a deadlock.
2012-04-17main.cpp: replace tabs with spacesJeff Garzik
Sometimes they sneak in through the 'vi' door
2012-04-17AlreadyHave(): only hold lock during mapTransactions accessJeff Garzik
2012-04-17Remove unused and unreachable codeWladimir J. van der Laan
2012-04-17Add forgotten initializerWladimir J. van der Laan
2012-04-17Merge pull request #1094 from jgarzik/already-have-lockingJeff Garzik
Locking fix for AlreadyHave()
2012-04-17Bump PROTOCOL_VERSION to 60001, thereby enabling BIP31Jeff Garzik
2012-04-17Merge pull request #1081 from jgarzik/pongJeff Garzik
BIP 0031: pong message
2012-04-16Merge pull request #1092 from laanwj/2012_04_sendcoins_setlabelfixWladimir J. van der Laan
When sending coins, set label when selecting address that already has a label
2012-04-16Merge pull request #1091 from Diapolo/GUI-BlockDLWladimir J. van der Laan
revert to default OS theme for progressbar (fix #1071)
2012-04-15Fix misc. minor sign-comparison warningsJeff Garzik
2012-04-15CNode's nHeaderStart may be negative, so change its typeJeff Garzik
2012-04-15serialize.h: CAutoFile's read and write may take size_t nSizeJeff Garzik
2012-04-15Fix sign-compare warnings: netbase's Lookup* max-solutions may be unsignedJeff Garzik
2012-04-15Fix loop index var types, fixing many minor sign comparison warningsJeff Garzik
foo.size() typically returns an unsigned integral type; make loop variables match those types' signedness.
2012-04-15The string class returns string::npos, when find() fails.Jeff Garzik
Noticed when sign-comparison warnings were enabled.
2012-04-15CTxMemPool: add helper methods, to reduce global mempool.mapTx accessesJeff Garzik
2012-04-15CTxMemPool: encapsulate AcceptToMemoryPoolJeff Garzik
2012-04-15CTxMemPool: encapsulate AddToMemoryPoolUnchecked(), RemoveFromMemoryPool(),Jeff Garzik
and nPooledTx
2012-04-15New class CTxMemPool, encapsulating TX memory pool data membersJeff Garzik
2012-04-15Merge pull request #1104 from laanwj/2012_04_clangJeff Garzik
Enable and fix most compilation warnings
2012-04-15Merge pull request #1084 from dooglus/validate_secretJeff Garzik
importprivkey doesn't check that it is given a private key
2012-04-15Merge pull request #1097 from laanwj/2012_04_runawayexceptionWladimir J. van der Laan
Show a message box when runaway exception happens
2012-04-15fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]Wladimir J. van der Laan
2012-04-15fix warnings: '&&' within '||' [-Wlogical-op-parentheses]Wladimir J. van der Laan
2012-04-15fix warnings: delete called on 'XX' that has virtual functions but ↵Wladimir J. van der Laan
non-virtual destructor [-Wdelete-non-virtual-dtor]
2012-04-15fix warnings: unused variable 'XX' [-Wunused-variable]Wladimir J. van der Laan
2012-04-15fix warnings: enumeration values 'XX' not handled in switch [-Wswitch-enum]Wladimir J. van der Laan
2012-04-15fix warnings: 'XX' defined as a struct here but previously declared as a ↵Wladimir J. van der Laan
class [-Wmismatched-tags]
2012-04-15fix warnings: array subscript is of type 'char' [-Wchar-subscripts]Wladimir J. van der Laan
2012-04-15work around issue in boost::program_options that prevents from compiling in ↵Wladimir J. van der Laan
clang
2012-04-15enable all warnings except invalid-offsetof, sign-compare, unused-parameterWladimir J. van der Laan
2012-04-14Bugfix: Check that QRcode_encodeString didn't return NULL (error)Luke Dashjr
Without this, any error will segfault Bitcoin-Qt
2012-04-14Show a message box when runaway exception happensWladimir J. van der Laan
This is more clear to users than when the program simply disappears (usually during initialization). It still logs the message to the console and debug log as well.
2012-04-14Merge pull request #1093 from jgarzik/tx-optJeff Garzik
Database micro-optimization for "tx" network message
2012-04-13Merge pull request #1089 from laanwj/2012_04_translationupdateWladimir J. van der Laan
Update translations for bitcoin core
2012-04-14Update translations for bitcoin coreWladimir J. van der Laan
- Move scripts/qt to share/qt, to clean up toplevel directories - Update english ts file which is used to source messages for Transifex - In extract_strings_qt.py use a glob *.h *.cpp, this is safe now that the Wx UI files are removed
2012-04-14Do not show green tick unless all known blocks are downloaded (fixes #921)Wladimir J. van der Laan
2012-04-13Locking fix for AlreadyHave()Jeff Garzik
Access to mapTransactions[] must be guarded by cs_mapTransactions lock. Also, reformat long lines to make the switch statement more readable.
2012-04-13Database micro-optimization for "tx" network messageJeff Garzik
Open database once per "tx" message, rather than multiple times, in the case of orphan transaction presence. As a side effect, a now-unused CTransaction::AcceptToMemoryPool() variant is removed.
2012-04-13Set label when selecting an address that already has a label. Fixes #1080.Wladimir J. van der Laan
2012-04-13revert to default OS theme for progressbar / fix small glitches in ↵Philip Kaufmann
bitcoingui.cpp