aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-05-06Merge pull request #4127Wladimir J. van der Laan
d387b8e rpc: add `getblockchaininfo` and `getnetworkinfo` (Wladimir J. van der Laan)
2014-05-06qt: periodic translations updateWladimir J. van der Laan
2014-05-06rpc: add `getblockchaininfo` and `getnetworkinfo`Wladimir J. van der Laan
Adds two new info query commands that take over information from hodge-podge `getinfo`. Also some new information is added: - `getblockchaininfo` - `chain`: (string) current chain (main, testnet3, regtest) - `verificationprogress: (numeric) estimated verification progress - `chainwork` - `getnetworkinfo` - `localaddresses`: (array) local addresses, from mapLocalHost (fixes #1734)
2014-05-05Merge pull request #4120Wladimir J. van der Laan
dbe8f75 don't use sed's -i option to stay posix compliant (Fabian Raetz)
2014-05-02don't use sed's -i option to stay posix compliantFabian Raetz
POSIX does not define sed's -i option. To stay as portable as possible we should not relay on it.
2014-05-02Merge pull request #4119Wladimir J. van der Laan
2364b11 reorder includes to compile on OpenBSD (Fabian Raetz)
2014-05-02reorder includes to compile on OpenBSDFabian Raetz
From getifaddr(3) manual: "If both <net/if.h> and <ifaddrs.h> are being included, <net/if.h> must be included before <ifaddrs.h>" http://www.openbsd.org/cgi-bin/man.cgi?query=getifaddrs&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
2014-05-02Merge pull request #4074Wladimir J. van der Laan
d3081fa Removed LevelDB changes (super3)
2014-05-02Merge pull request #4114Wladimir J. van der Laan
bfb154e Update build instructions for Berkeley DB (Wladimir J. van der Laan) d0a2e2e Log BerkeleyDB version at startup (Wladimir J. van der Laan)
2014-05-02better std::exception logging for CAddrDbPhilip Kaufmann
- also small logging text changes
2014-05-02Merge pull request #4110Wladimir J. van der Laan
3a54ad9 Full translation update (Wladimir J. van der Laan) 9dd5d79 devtools: add a script to fetch and postprocess translations (Wladimir J. van der Laan) 58c01a3 qt: add transifex configuration file (Wladimir J. van der Laan)
2014-05-02Merge pull request #4115Wladimir J. van der Laan
e27c411 Remove build-time no-IPv6 setting (Wladimir J. van der Laan)
2014-05-02Merge pull request #4032Wladimir J. van der Laan
c0e0b05 Bugfix: configure: Look in libx32 subdirectory for boost libraries (Luke Dashjr)
2014-05-01Removed LevelDB changessuper3
Syntax Highlighting
2014-05-01Remove build-time no-IPv6 settingWladimir J. van der Laan
The year is 2014. All supported operating systems have IPv6 support, most certainly at build time (this doesn't mean that IPv6 is configured, of course). If noone is exercising the functionality to disable it, that means it doesn't get tested, and IMO it's better to get rid of it. (it's also not used consistently in RPC/boost and Net code...)
2014-05-01Full translation updateWladimir J. van der Laan
Last update (48be9ce) missed quite a lot, for some reason. This is also the first update done with the new script `contrib/devtools/update-translations.py`
2014-05-01Log BerkeleyDB version at startupWladimir J. van der Laan
Prints the actual version of BerkeleyDB that is linked against, if wallet support is enabled. Useful for troubleshooting. For example: 2014-05-01 07:44:02 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2014-05-01 07:54:25 Using BerkeleyDB version Berkeley DB 5.1.29: (October 25, 20 11)
2014-05-01Merge pull request #4092Wladimir J. van der Laan
40c5b93 [Qt] Optionally add third party links to transaction context menu (Cozz Lovan)
2014-05-01Merge pull request #4109Wladimir J. van der Laan
6b29ccc Correct indentation (R E Broadley)
2014-04-30use standard __func__ instead of __PRETTY_FUNCTION__Philip Kaufmann
2014-04-30Correct indentationR E Broadley
2014-04-29qt: Periodic translations updateWladimir J. van der Laan
Update English translation from source code, and pull other translations from Transifex.
2014-04-27Merge pull request #4043Wladimir J. van der Laan
d282c1f [Qt] catch Windows shutdown events while client is running (Philip Kaufmann)
2014-04-25[Qt] Optionally add third party links to transaction context menuCozz Lovan
2014-04-24Add MESSAGE_START_SIZE from chainparams when loading blocks from external files.Simon de la Rouviere
2014-04-23Merge pull request #4085Wladimir J. van der Laan
b39a07d Add missing AssertLockHeld in ConnectBlock (Wladimir J. van der Laan) 41106a5 qt: get required locks upfront in polling functions (Wladimir J. van der Laan) ed67100 Add required locks in tests (Wladimir J. van der Laan)
2014-04-23Add missing AssertLockHeld in ConnectBlockWladimir J. van der Laan
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-23[Qt] importwallet progressCozz Lovan
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-15[Qt] catch Windows shutdown events while client is runningPhilip Kaufmann
- prevents unsafe shutdowns on Windows, which is known to be able to cause problems with wallet.dat - if a users ends a Windows session, this will initiate a client shutdown and show a Windows dialog, that tells the user what is going on (for Windows Vista and higher it will even show a reason for blocking the Windows session end)
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)