aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* qt: Periodic translation updatev0.9.2rc2Wladimir J. van der Laan2014-06-063-139/+142
| | | | | Rebased-From: db41541 Rebased-By: Wladimir J. van der Laan <[email protected]>
* CWallet: fix nTimeFirstKey init, by making constructor init common codeJeff Garzik2014-06-061-11/+10
| | | | | | | Don't repeat yourself etc. Rebased-From: d04fd3e Rebased-By: Wladimir J. van der Laan <[email protected]>
* Properly initialize CWallet::nTimeFirstKeytm3141592014-06-031-0/+1
| | | | | Rebased-From: 91855f2 Rebased-By: Wladimir J. van der Laan <[email protected]>
* Use pnode->nLastRecv as sync score directlyHuang Le2014-06-021-6/+6
| | | | | | | | | | NodeSyncScore() should find the node which we recv data most recently, so put a negative sign to pnode->nLastRecv is indeed wrong. Also change the return value type to int64_t. Signed-off-by: Huang Le <[email protected]> Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 09a54a6
* Periodic language updatev0.9.2rc1Wladimir J. van der Laan2014-06-014-363/+365
| | | | | | | Pull updated translations from Transifex before 0.9.2 Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 11ef78f
* Set client version to releaseWladimir J. van der Laan2014-06-011-3/+3
| | | | No longer show the "Do not use..." banner.
* Limit number of known addresses per peerPieter Wuille2014-06-012-2/+3
| | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 5823449
* osx: Fix missing dock menu with qt5Cory Fields2014-05-301-0/+2
| | | | | | | | | | Qt5 Removed the qt_mac_set_dock_menu function and left no replacement. It was later re-added and deprecated for backwards-compatibility. Qt5.2 adds the non-deprecated QMenu::setAsDockMenu(). Use that when possible. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: c21c74b
* No references to centralized databases in help text.Pieter Wuille2014-05-291-7/+6
| | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: b5ef85c
* [Qt] Fix Start bitcoin on system loginCozz Lovan2014-05-291-1/+1
| | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 066d9a5
* qt: Periodic language updateWladimir J. van der Laan2014-05-234-159/+159
| | | | | | | Last-minute language update before release 0.9.2. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: a8a0db6
* Replace non-threadsafe gmtime and setlocaleWladimir J. van der Laan2014-05-234-20/+15
| | | | | | | | | | Make DateTimeStrFormat use boost::posix_time. Also re-enable the util_DateTimeStrFormat tests, as they are no longer platform specific. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 3e8ac6a
* Replace non-threadsafe strerrorWladimir J. van der Laan2014-05-233-16/+52
| | | | | | | | | | | | | Log the name of the error as well as the error code if a network problem happens. This makes network troubleshooting more convenient. Use thread-safe strerror_r and the WIN32 equivalent FormatMessage. Conflicts: src/netbase.cpp Rebased-By: Wladimir van der Laan <[email protected]> Rebased-From: a60838d
* Add missing LOCK(cs_main)Pieter Wuille2014-05-211-1/+4
| | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 305ccaa
* qt: Periodic language updateWladimir J. van der Laan2014-05-2113-566/+588
| | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 6fcdad7
* remove ParseString(...) which is never usedKamil Domanski2014-05-212-21/+0
| | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: be54b87
* switch from boost int types to <stdint.h>Kamil Domanski2014-05-219-82/+82
| | | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 4b61a6a, 3e74ac2, d56e30c Github-Pull: #4129
* SetupEnvironment() - clean commitStuart Cardall2014-05-195-0/+23
| | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 5248ff4
* qt: periodic language updateWladimir J. van der Laan2014-05-1372-484/+4414
| | | | | | | | | | | | Pull updated translations from Transifex. Add mn (Mongolian) language. Do not update English translation for now as we want to keep compatibility with 0.9. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 795b921
* rpc: keep track of acceptors, and cancel them in StopRPCThreadsWladimir J. van der Laan2014-05-121-3/+14
| | | | | | | | | | | | | Fixes #4156. The problem is that the boost::asio::io_service destructor waits for the acceptors to finish (on windows, and boost 1.55). Fix this by keeping track of the acceptors and cancelling them before stopping the event loops. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: cef4494
* rpc: Make sure conn object is always cleaned upWladimir J. van der Laan2014-05-121-10/+6
| | | | | | | | | | | | | | | | Make sure conn object always gets cleaned up by using a `boost::shared_ptr`. This makes valgrind happy - before this commit, one connection object always leaked at shutdown, as well as can avoid other leaks, when for example an exception happens. Also add an explicit Close() to the !ClientAllowed path to make it similar to the normal path (I'm not sure whether it is needed, but it can't hurt). Rebased-By: Wladimir J. van der Laan Rebased-From: 1a44522
* rpc: pass errors from async_acceptWladimir J. van der Laan2014-05-121-1/+3
| | | | | | | | | | | | | | | | According to the [boost::asio documentation](http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_socket_acceptor/async_accept/overload2.html), the function signature of the handler must be: void handler( const boost::system::error_code& error // Result of operation. ); We were binding *all* the arguments, instead of all but the error, resulting in nullary function that never got the error. Fix this by adding an input argument substitution. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 0a0cd34
* Move base58.h implementation code to base58.cppPieter Wuille2014-05-123-227/+219
| | | | | Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: f6b7c64
* Remove dummy PRIszX macros for formattingWladimir J. van der Laan2014-05-1210-40/+28
| | | | | | | | | | | | Size specifiers are no longer needed now that we use typesafe tinyformat for string formatting, instead of the system's sprintf. No functional changes. This continues the work in #3735. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 783b182
* Squashed 'src/leveldb/' changes from 9094c7f..7924331Pieter Wuille2014-05-129-43/+60
| | | | | | | | | | | | 42dcc7e Merge upstream LevelDB 1.17. e353fbc Release LevelDB 1.17 269fc6c Release LevelDB 1.16 REVERT: 9094c7f Temporarily revert to writing .sst files instead of .ldb git-subtree-dir: src/leveldb git-subtree-split: 79243314e40ac31d79c68e5658a1d6a64800d50b Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 938b689
* Switch stdout to line bufferingshshshsh2014-05-121-0/+2
| | | | | | | | Use line buffering (instead of block buffering) so that messages arrive immediately in systemd-journald, tail -f debug.log, and the like. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 283e405
* fixes #4163Matthew Bogosian2014-05-121-1/+1
| | | | | Rebased-by: Wladimir J. van der Laan <[email protected]> Rebased-from: 90fd873
* Bump version numbers for 0.9.2 branch split-offWladimir J. van der Laan2014-05-091-2/+2
| | | | Show version as 0.9.1.99 until rc1.
* Merge pull request #4136Wladimir J. van der Laan2014-05-092-14/+13
|\ | | | | | | 01ce711 [Qt] fix Qt slot problem in receivecoinsdialog (Philip Kaufmann)
| * [Qt] fix Qt slot problem in receivecoinsdialogPhilip Kaufmann2014-05-062-14/+13
| | | | | | | | | | | | | | | | - fixes error from debug.log: QMetaObject::connectSlotsByName: No matching signal for on_recentRequestsView_selectionChanged(QItemSelection,QItemSelection) - small style fixes (e.g. alphabetical ordering if includes etc.) - fixes #3992
* | qt: fix compile issue in Qt GUIWladimir J. van der Laan2014-05-081-1/+1
| | | | | | | | This was introduced in 3e1cf9b. Needs a cast to qint64.
* | Typo Fix In decoderawtransaction Help: s/txid/hex/David A. Harding2014-05-081-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | Help text appears to have been copy/pasted from getrawtransaction, so it erroneously asked for a txid where rawtransaction hex should appear. Remove lines which were copy/pasted from getrawtransaction but which aren't displayed by decoderawtransaction. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 5cc0133 80c521e Github-Pull: #4106
* | Merge pull request #4131Wladimir J. van der Laan2014-05-083-3/+5
|\ \ | | | | | | | | | 3e1cf9b add DEFAULT_TRANSACTION_FEE constant in wallet (Philip Kaufmann)
| * | add DEFAULT_TRANSACTION_FEE constant in walletPhilip Kaufmann2014-05-053-3/+5
| |/ | | | | | | | | - as this is a shared Core/GUI setting, this makes it easier to keep them in sync (also no new includes are needed)
* | Merge pull request #4141Wladimir J. van der Laan2014-05-082-6/+26
|\ \ | | | | | | | | | 9d558e1 ui: Check for !pixmap() before trying to export QR code (Wladimir J. van der Laan)
| * | ui: Check for !pixmap() before trying to export QR codeWladimir J. van der Laan2014-05-072-6/+26
| | | | | | | | | | | | | | | | | | | | | Adds null pointer checks as well as prevents the Save/Copy context menu from appearing at all if no image is shown. Fixes issue #4140
* | | [Qt] fix ugly typo in bitcoin.cppPhilip Kaufmann2014-05-072-2/+2
| | | | | | | | | | | | | | | | | | | | | Closes #4145. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 1e4b083
* | | Add missing cs_main lock to VerifyDBWladimir J. van der Laan2014-05-071-0/+1
|/ / | | | | | | Fixes issue #4139.
* | Merge pull request #4127Wladimir J. van der Laan2014-05-066-7/+100
|\ \ | | | | | | | | | d387b8e rpc: add `getblockchaininfo` and `getnetworkinfo` (Wladimir J. van der Laan)
| * | rpc: add `getblockchaininfo` and `getnetworkinfo`Wladimir J. van der Laan2014-05-066-7/+100
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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)
* / qt: periodic translations updateWladimir J. van der Laan2014-05-0670-290/+853
|/
* Merge pull request #4120Wladimir J. van der Laan2014-05-052-8/+8
|\ | | | | | | dbe8f75 don't use sed's -i option to stay posix compliant (Fabian Raetz)
| * don't use sed's -i option to stay posix compliantFabian Raetz2014-05-022-8/+8
| | | | | | | | | | POSIX does not define sed's -i option. To stay as portable as possible we should not relay on it.
* | Merge pull request #4119Wladimir J. van der Laan2014-05-021-5/+5
|\ \ | | | | | | | | | 2364b11 reorder includes to compile on OpenBSD (Fabian Raetz)
| * | reorder includes to compile on OpenBSDFabian Raetz2014-05-021-5/+5
| |/ | | | | | | | | | | | | | | 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
* | Merge pull request #4074Wladimir J. van der Laan2014-05-021-2/+2
|\ \ | |/ |/| | | d3081fa Removed LevelDB changes (super3)
| * Removed LevelDB changessuper32014-05-011-2/+2
| | | | | | | | Syntax Highlighting
* | Merge pull request #4114Wladimir J. van der Laan2014-05-021-0/+3
|\ \ | | | | | | | | | | | | bfb154e Update build instructions for Berkeley DB (Wladimir J. van der Laan) d0a2e2e Log BerkeleyDB version at startup (Wladimir J. van der Laan)
| * | Log BerkeleyDB version at startupWladimir J. van der Laan2014-05-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | better std::exception logging for CAddrDbPhilip Kaufmann2014-05-021-9/+10
| | | | | | | | | | | | - also small logging text changes