aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-04-23qt: get required locks upfront in polling functionsWladimir J. van der Laan
This avoids the GUI from getting stuck on periodical polls if the core is holding the locks for a longer time - for example, during a wallet rescan.
2014-04-23Add required locks in testsWladimir J. van der Laan
Unit tests with DEBUG_LOCKORDER were running into assertions.
2014-04-22Merge pull request #4042Wladimir J. van der Laan
05c20a5 build: add symbol for upcoming gcc 4.9's libstdc++ (Cory Fields) 49a3352 gitian-linux: --enable-glibc-back-compat (Warren Togami) d5aab70 build: add an option for enabling glibc back-compat (Cory Fields) ffc6b67 build: add glibc/libstdc++ back-compat stubs (Cory Fields)
2014-04-22Merge pull request #4058Wladimir J. van der Laan
55a1db4 Solve chainActive-related locking issues (Wladimir J. van der Laan) e07c943 Add AssertLockHeld for cs_main to ChainActive-using functions (Wladimir J. van der Laan)
2014-04-22Replace DecodeBase58/EncodeBase58 with direct implementation.Pieter Wuille
This removes the bignum/OpenSSL dependency. The base58 transformation code is also moved to a separate .cpp file.
2014-04-19Merge pull request #4014Wladimir J. van der Laan
4e9667b Improve and expand base58 comments (rxl)
2014-04-19Merge pull request #3701Wladimir J. van der Laan
09ec3af AddToWallet implies BindWallet (Wladimir J. van der Laan)
2014-04-18Merge pull request #4037 from gmaxwell/fdleaksGregory Maxwell
Prevent socket leak in ThreadSocketHandler.
2014-04-18Solve chainActive-related locking issuesWladimir J. van der Laan
- In wallet and GUI code LOCK cs_main as well as cs_wallet when necessary - In main.cpp SendMessages move the TRY_LOCK(cs_main) up, to encompass the call to IsInitialBlockDownload. - Make ActivateBestChain, AddToBlockIndex, IsInitialBlockDownload, InitBlockIndex acquire the cs_main lock Fixes #3997
2014-04-17Add AssertLockHeld for cs_main to ChainActive-using functionsWladimir J. van der Laan
All functions that use ChainActive but do not aquire the cs_main lock themselves, need to be called with the cs_main lock held. This commit adds assertions to all externally callable functions that use chainActive or chainMostWork. This will flag usages when built with -DDEBUG_LOCKORDER.
2014-04-17Translation update 2014-04Wladimir J. van der Laan
Push new English translation, as well as pull other translations that changed since last month.
2014-04-15VERSION obtained from source instead of the previous git tag.Warren Togami
Drawback: The version string is no longer a valid git identifier. For this reason the 'g' short hash prefix has been removed. Exception: When building directly from a tag this behaves exactly like the previous behavior. This allows formatting release versions with precision i.e. v0.9.2 This also allows arbitrary topicbranch names i.e. v0.9.1-glibc-compat
2014-04-14qt: remove de_AT translationWladimir J. van der Laan
Got too many complaints that is was unserious and written by trolls. I have also removed the translation from transifex. Fixes #4054 and #3918.
2014-04-12Improve and expand base58 commentsrxl
update comments so doxygen will pick them up
2014-04-11build: add symbol for upcoming gcc 4.9's libstdc++Cory Fields
2014-04-11Merge pull request #3912Wladimir J. van der Laan
b1b9c76 Fix bloom filter not to use bit_mask (peryaudo)
2014-04-10build: add an option for enabling glibc back-compatCory Fields
Using "./configure --enable-glibc-back-compat" will attempt to be compatible with a target running glibc abi 2.9 and libstdc++ abi 3.4.
2014-04-10build: add glibc/libstdc++ back-compat stubsCory Fields
glibc/libstdc++ have added new symbols in later releases. When running a new binary against an older glibc, the run-time linker is unable to resolve the new symbols and the binary refuses to run. This can be fixed by adding our own versions of those functions, so that the build-time linker does not emit undefined symbols for them. This enables our binary releases to work on older Linux distros, while not incurring the downsides of a fully static binary.
2014-04-09Correct some proxy related socket leaks.Gregory Maxwell
2014-04-09Prevent socket leak in ThreadSocketHandler.Gregory Maxwell
When we are over our outbound limit ThreadSocketHandler would try to keep the connection if the peer was addnoded. This didn't actually work for two reasons: It didn't actually run the accept code due to mistaken code flow, and because we have a limited number of outbound semaphores it couldn't actually use the connection. Instead it leaked the socket, which might have caused issue #4034. This patch just takes out the non-functioning white-listing for now.
2014-04-09Merge pull request #4024Wladimir J. van der Laan
ab64381 Fix a typo in RPC signrawtransaction help (Hector Jusforgues)
2014-04-09Merge pull request #4020Wladimir J. van der Laan
71f82bf Restart-warning for spendZeroConfChange option (langerhans)
2014-04-08Fix a typo in RPC signrawtransaction helpHector Jusforgues
2014-04-08Merge pull request #4019Wladimir J. van der Laan
13a2283 build: Sync ax_boost_base.m4 with upstream. (Cory Fields)
2014-04-07Restart-warning for spendZeroConfChange optionlangerhans
According to the options model, a restart is required after changing this option. So let's notify the user about it.
2014-04-07build: Sync ax_boost_base.m4 with upstream.Cory Fields
This should fix 32bit boost detection on Ubuntu Saucy+. Fixes #3945.
2014-04-07Show error message if ReadConfigFile failsWladimir J. van der Laan
A runaway exception was raised if ReadConfigFile fails (usually due to a parse error in bitcoin.conf). Show an error message instead. Fixes #4013.
2014-04-07Merge pull request #3972Wladimir J. van der Laan
fbf617a remove an assignment which is never used. (Yoichi Hirai)
2014-04-05Move assert(pindexNew); to above where we dereference pindexNew.Gregory Maxwell
2014-04-04Merge pull request #3572Wladimir J. van der Laan
f7257cf unified and better log/error messages for CDBEnv/CDB (Philip Kaufmann)
2014-04-03Merge pull request #3929Wladimir J. van der Laan
4c35366 Fix importwallet nTimeFirstKey (Cozz Lovan)
2014-04-03Merge pull request #3928Wladimir J. van der Laan
3927836 [Qt] rescan progress (Cozz Lovan)
2014-04-02Merge pull request #3842 from ditto-b/masterGavin Andresen
Fix for GetBlockValue() after block 13,440,000
2014-04-02Edit subsidy_limit_test to account for BIP42ditto-b
Because no one wants 4 gold mines being discovered every mibillenium.
2014-04-02[Qt] rescan progressCozz Lovan
2014-04-01Merge pull request #3931Wladimir J. van der Laan
f61287c RPC command getmininginfo showing right genproclimit (Isidoro Ghezzi)
2014-04-01Merge pull request #3986Wladimir J. van der Laan
65adc3a qt: Don't require db_cxx.h when wallet disabled (Wladimir J. van der Laan) 4babd08 doc: Add note about memory reqs for compilation (Wladimir J. van der Laan) 25333a2 build: improve missing boost error reporting (Wladimir J. van der Laan)
2014-04-01[Qt] small cleanup of coincontroldialogPhilip Kaufmann
- use a little more Qt-style - check for NULL pointers first and return in updateView() - small space and formating changes
2014-04-01unified and better log/error messages for CDBEnv/CDBPhilip Kaufmann
2014-03-31add checks for deserialization errorsManuel Araoz
2014-03-31Add code generating data/sighash.json test dataManuel Araoz
2014-03-31Add sighash tests from data fileManuel Araoz
2014-03-31Use the new name Bitcoin Core Daemon instead of Bitcoin serverpaveljanik
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From-Github-Pull: #3801
2014-03-31Wrap create_directory calls in try...catch blocks.Brandon Dahler
Ignores any exceptions thrown if directory exists, otherwise re-throws exception. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-03-31Fix typo in `createmultisig` helpWladimir J. van der Laan
iCreateMultisig is not a thing.
2014-03-31Merge pull request #3969Wladimir J. van der Laan
ffeb473 Add nHighTransactionFeeWarning as per #3969. (Bardi Harborow)
2014-03-31Organize RPCCommands tableWladimir J. van der Laan
Use sensible categories (overall control, P2P, blockchain/UTXO and mining, wallet, wallet-enabled mining) and sort within each. Also remove unnecessary #ifdef ENABLE_WALLET from `rpcnet.cpp`. Functionality-neutral change.
2014-03-31qt: Don't require db_cxx.h when wallet disabledWladimir J. van der Laan
Fix #3978.
2014-03-31build: improve missing boost error reportingWladimir J. van der Laan
2014-03-31Merge pull request #3980Wladimir J. van der Laan
af4c2ac Fix `-printblocktree` output (Wladimir J. van der Laan)