aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Do not report spurious deadlocks caused by TRY_LOCKPieter Wuille2012-04-092-7/+7
| | | | | | | | |
| * | | | | | | | Support for parametrized locks in deadlock detectorPieter Wuille2012-04-091-9/+9
| | | | | | | | |
| * | | | | | | | Use scoped locks instead of CRITICAL_BLOCKPieter Wuille2012-04-0919-190/+286
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge branch 'filesystem' of https://github.com/Diapolo/bitcoinGavin Andresen2012-04-093-28/+39
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | fixed small error in bitcoinrpc.cppPhilip Kaufmann2012-04-061-2/+2
| | | | | | | |
| * | | | | | | updated util.cpp to use make_preferred()Philip Kaufmann2012-04-061-9/+14
| | | | | | | |
| * | | | | | | updated bitcoinrpc.cpp to use make_preferred() and removed double inclusion ↵Philip Kaufmann2012-04-061-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of boost/filesystem.hpp
| * | | | | | | updated db.cpp to use make_preferred()Philip Kaufmann2012-04-061-6/+10
| | | | | | | |
* | | | | | | | Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr2012-04-0614-82/+85
|/ / / / / / /
* | | | | | | Merge pull request #1033 from sipa/waitPieter Wuille2012-04-063-122/+132
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Condition variables instead of polling
| * | | | | | | Condition variable for outbound connection slotsPieter Wuille2012-04-041-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep a global counter for nOutbound, protected with its own waitable critical section, and wait when all outbound slots are filled, rather than polling. This removes the (on average) 1 second delay between a lost connection and a new connection attempt, and may speed up shutdowns.
| * | | | | | | Locking system overhaul, add condition variablesPieter Wuille2012-04-042-103/+110
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit simplifies the locking system: CCriticalSection becomes a simple typedef for boost::interprocess::interprocess_recursive_mutex, and CCriticalBlock and CTryCriticalBlock are replaced by a templated CMutexLock, which wraps boost::interprocess::scoped_lock. By making the lock type a template parameter, some critical sections can now be changed to non-recursive locks, which support waiting via condition variables. These are implemented in CWaitableCriticalSection and WAITABLE_CRITICAL_BLOCK. CWaitableCriticalSection is a wrapper for a different Boost mutex, which supports waiting/notification via condition variables. This should enable us to remove much of the used polling code. Important is that this mutex is not recursive, so functions that perform the locking must not call eachother. Because boost::interprocess::scoped_lock does not support assigning and copying, I had to revert to the older CRITICAL_BLOCK macros that use a nested for loop instead of a simple if.
* | | | | | | Change sign message bitcoin address tooltip to "The address to sign the ↵graingert2012-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | message with" Closes #1050
* | | | | | | Flush on log size instead of transaction countPieter Wuille2012-04-052-10/+2
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #1043 from Diapolo/miscGavin Andresen2012-04-051-10/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | removed obsolete boost workaround (boost ticket #4258)
| * | | | | | removed obsolete boost workaround (boost ticket #4258)Philip Kaufmann2012-04-051-10/+0
| | | | | | |
* | | | | | | Merge pull request #1042 from gavinandresen/use_ssl_cleanupGavin Andresen2012-04-057-44/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Remove USE_SSL #define
| * | | | | | | Remove USE_SSL #defineGavin Andresen2012-04-047-44/+5
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #1037 from gavinandresen/addmultisigenableGavin Andresen2012-04-051-2/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Enable addmultisigaddress RPC call for main network
| * | | | | | | Enable addmultisigaddress RPC call for main networkGavin Andresen2012-04-041-2/+0
| |/ / / / / /
* | | | | | | Merge pull request #1036 from gavinandresen/pubsubcleanupGavin Andresen2012-04-052-167/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Remove half-implemented publish/subscribe system
| * | | | | | | Remove half-implemented publish/subscribe systemGavin Andresen2012-04-042-167/+0
| |/ / / / / /
* | | | | | | Merge pull request #1035 from gavinandresen/osxbuildGavin Andresen2012-04-051-3/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flags
| * | | | | | | Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flagsGavin Andresen2012-04-041-3/+10
| |/ / / / / /
* | | | | | | Merge pull request #1039 from sipa/fix_955Gregory Maxwell2012-04-052-10/+18
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Fix #955: Verify status of encrypt/decrypt calls to detect failed padding
| * | | | | | Verify status of encrypt/decrypt calls to detect failed paddingPieter Wuille2012-04-052-10/+18
| |/ / / / /
* / / / / / removed an unused / obsolete tag from bitcoin.qrcPhilip Kaufmann2012-04-051-1/+1
|/ / / / /
* | | | | Merge pull request #1019 from laanwj/2012_03_uirefactorPieter Wuille2012-04-0430-372/+320
|\ \ \ \ \ | | | | | | | | | | | | Streamline UI ↔ Core interface
| * | | | | Move from noui.h / ui.h to one ui_interface.h with dummy implementation for ↵Wladimir J. van der Laan2012-04-049-89/+61
| | | | | | | | | | | | | | | | | | | | | | | | the daemon.
| * | | | | Use a messagebox to display the error when -server is provided without ↵Wladimir J. van der Laan2012-04-041-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | providing a rpc password
| * | | | | qtui.h/noui.h interface cleanupWladimir J. van der Laan2012-04-0412-51/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rename wxMessageBox, remove redundant arguments to noui/qtui calls - also, add flag to force blocking, modal dialog box for disk space warning etc - clarify function naming - no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
| * | | | | support RPC stop and encryptwallet with UIWladimir J. van der Laan2012-04-045-15/+17
| | | | | |
| * | | | | move translation function _ to qtui.h/noui.h instead of util.hWladimir J. van der Laan2012-04-042-7/+5
| | | | | |
| * | | | | remove dependency on serialize.h and util.h for SecureStringWladimir J. van der Laan2012-04-045-116/+123
| | | | | |
| * | | | | remove unused CalledSetStatusBar and UIThreadCall notificationsWladimir J. van der Laan2012-04-044-25/+0
| | | | | |
| * | | | | Update UI through async calls MainFrameRepaint and AddressBookRepaint ↵Wladimir J. van der Laan2012-04-0413-54/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of a timer. - Overall, this is better design - This fixes problems with the address book UI not updating when the address book is changed through RPC - Move Statusbar change detection responsibility to ClientModel
| * | | | | Code deduplication: make function in GUIUtil to get connection type to call ↵Wladimir J. van der Laan2012-04-043-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object slot in GUI thread with invokeMethod.
| * | | | | move QT_PLUGINS stuff to qt main file, where it belongsWladimir J. van der Laan2012-04-042-11/+11
| |/ / / /
* | | | | Merge pull request #1025 from Diapolo/GUI-BlockDLWladimir J. van der Laan2012-04-041-10/+24
|\ \ \ \ \ | |/ / / / |/| | | | modified block DL progressbar to be more informative and precise
| * | | | clarified comment why we use an own progressbar style / included "~" in the ↵Philip Kaufmann2012-04-031-1/+2
| | | | | | | | | | | | | | | | | | | | tr() call
| * | | | changed percentage done in tooltip to float to be more precise / allowed ↵Philip Kaufmann2012-04-031-4/+4
| | | | | | | | | | | | | | | | | | | | plurals in translation for "x block(s) remaining"
| * | | | polished code and fixed progress display (was very jerky at the end of a sync)Philip Kaufmann2012-04-021-11/+9
| | | | |
| * | | | color update for progress barPhilip Kaufmann2012-04-021-1/+1
| | | | |
| * | | | implemented OS independent progress bar style / moved one-time functions ↵Philip Kaufmann2012-04-021-7/+9
| | | | | | | | | | | | | | | | | | | | used on the bar to a better code location
| * | | | changed progressbar text to "~n blocks remaining"Philip Kaufmann2012-04-021-5/+8
| | | | |
| * | | | removed relative progressbar display and moved re-worked network detection ↵Philip Kaufmann2012-04-021-22/+13
| | | | | | | | | | | | | | | | | | | | code to setNumBlocks()
| * | | | modified block DL progressbar to be dynamic and more precisePhilip Kaufmann2012-04-021-8/+27
| | | | |
* | | | | VC2010 compile fixesWladimir J. van der Laan2012-04-0311-19/+53
| | | | |
* | | | | Merge pull request #1026 from laanwj/2012_04_increase_up_to_date_timeGregory Maxwell2012-04-021-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Increase time ago of last block for "up to date" status from 30 to 90 minutes
| * | | | Increase time ago of last block for "up to date" status from 30 to 90 minutesWladimir J. van der Laan2012-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | It was too hyperactive. gmaxwell: I mean that right now when the block gap goes over an hour it starts showing synchronizing. Increasing that to 90 minutes or so would make it only happen about 6.4 times per year