aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | build: split the non-gui startup routines into a new fileCory Fields2013-06-046-138/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow each to have its own main(), meaning that we can build a common base client and simply link in the correct startup object to create the appropriate binary.
| * | | | | | | build: prepare to move DetectShutdownThreadCory Fields2013-06-041-3/+5
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge pull request #2731 from Diapolo/rpcconsoleWladimir J. van der Laan2013-06-051-2/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Bitcoin-Qt: harmonize 2 setClientModel() functions
| * | | | | | | Bitcoin-Qt: harmonize 2 setClientModel() functionsPhilip Kaufmann2013-06-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - harmonize BitcoinGUI::setClientModel() and RPCConsole::setClientModel() - now RPCConsole::setClientModel() also includes a direct call to setNumBlocks()
* | | | | | | | osx: fix bitcoin-qt startup crash when clicking dock iconCory Fields2013-06-041-2/+6
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Crash probably introduced by 4d17a1b0. Inialize the window to NULL and verify it before use.
* | | | | | | Merge pull request #2613 from jonasschnelli/prefsFixWladimir J. van der Laan2013-06-033-4/+59
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MaxOSX: settings fixes (#2371)
| * | | | | | | Merge branch 'master' of git://github.com/bitcoin/bitcoin into prefsFixJonas Schnelli2013-06-03123-7860/+13059
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jonas Schnelli <[email protected]> Conflicts: bitcoin-qt.pro
| * | | | | | | MaxOSX: settings fixes (#2371)Jonas Schnelli2013-06-033-4/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Launch-At-Startup implementation for mac - Remove "Window" tab in settings Signed-off-by: Jonas Schnelli <[email protected]>
* | | | | | | | Merge pull request #2727 from TheBlueMatt/masterWladimir J. van der Laan2013-06-031-1/+7
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | One more data-driven test-case
| * | | | | | | Add new data-driven test-case.Matt Corallo2013-06-021-1/+7
| | | | | | | |
* | | | | | | | Bitcoin-Qt: setup testnet GUI directlyPhilip Kaufmann2013-06-023-48/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this directly sets up all GUI elements that have testnet special-casing without first setting up main net stuff and changing afterwards (titles, icons etc.) - also fixes 2 wrong icons shown during testnet usage on our toolbar
* | | | | | | | Merge pull request #2588 from Diapolo/GetBoolArgWladimir J. van der Laan2013-06-0210-76/+61
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | remove GetBoolArg() fDefault parameter defaulting to false
| * | | | | | | | remove GetBoolArg() fDefault parameter defaulting to falsePhilip Kaufmann2013-06-0110-76/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - explicitly set the default of all GetBoolArg() calls - rework getarg_test.cpp and util_tests.cpp to cover this change - some indentation fixes - move macdockiconhandler.h include in bitcoin.cpp to the "our headers" section
* | | | | | | | | Qt5 compatibilityWladimir J. van der Laan2013-06-0115-13/+79
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <[email protected]> - Jonas Schnelli <[email protected]>
* | | | | | | | Merge pull request #2552 from Diapolo/win-typedefJeff Garzik2013-05-301-2/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | remove obsolete and unused typedef for Windows
| * | | | | | | | remove obsolete and unused typedef for WindowsPhilip Kaufmann2013-04-231-2/+0
| | | | | | | | |
* | | | | | | | | Merge pull request #2615 from jonasschnelli/mac10_8_not_centerWladimir J. van der Laan2013-05-304-19/+126
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | osx: make use of the 10.8+ user notification center to display growl lik...
| * | | | | | | | | osx: make use of the 10.8+ user notification center to display growl like ↵Jonas Schnelli2013-05-244-19/+126
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notifications - if 10.8, use user notification center, if <10.8, use growl Signed-off-by: Jonas Schnelli <[email protected]>
* | | | | | | | | Merge pull request #2716 from laanwj/2013_05_30_getworkJeff Garzik2013-05-304-10/+21
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Move pMiningKey init out of StartRPCThreads
| * | | | | | | | | Move pMiningKey init out of StartRPCThreadsWladimir J. van der Laan2013-05-304-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit decouples the pMiningKey initialization and shutdown from the RPC threads. `getwork` and `getblocktemplate` rely on pMiningKey, and can also be ran from the debug window in the UI even when the RPC server is not running. Solves issue #2706.
* | | | | | | | | | Merge pull request #2705 from robbak/crash_zero_size_peers.datJeff Garzik2013-05-301-0/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Don't attempt to resize vector to negative size.
| * | | | | | | | | | Don't attempt to resize vector to negative size.Robert Backhaus2013-05-291-0/+2
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #2644 from sipa/constfindblockJeff Garzik2013-05-304-50/+35
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make FindBlockByHeight constant-time
| * | | | | | | | | | | Make FindBlockByHeight constant-time.Pieter Wuille2013-05-124-50/+35
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the pnext pointer in CBlockIndex, and replace it with a vBlockIndexByHeight vector (no effect on memory usage). pnext can now be replaced by vBlockIndexByHeight[nHeight+1], but FindBlockByHeight becomes constant-time. This also means the entire mapBlockIndex structure and the block index entries in it become purely blocktree-related data, and independent from the currently active chain, potentially allowing them to be protected by separate mutexes in the future.
* | | | | | | | | | | Merge pull request #2642 from sipa/rightgenesisJeff Garzik2013-05-301-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Check for correct genesis
| * | | | | | | | | | | Check for correct genesisPieter Wuille2013-05-121-0/+5
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At startup, check that the expected genesis is loaded. This should prevent cases where accidentally a datadir from the wrong network is loaded (testnet vs mainnet, e.g.).
* | | | | | | | | | | Merge pull request #2625 from gavinandresen/walletlock_asioJeff Garzik2013-05-304-63/+43
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use boost::asio::deadline_timer for walletpassphrase timeout
| * | | | | | | | | | | Use boost::asio::deadline_timer for walletpassphrase timeoutGavin Andresen2013-05-074-63/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New method in bitcoinrpc: RunLater, that uses a map of deadline timers to run a function later. Behavior of walletpassphrase is changed; before, calling walletpassphrase again before the lock timeout passed would result in: Error: Wallet is already unlocked. You would have to call lockwallet before walletpassphrase. Now: the last walletpassphrase with correct password wins, and overrides any previous timeout. Fixes issue# 1961 which was caused by spawning too many threads. Test plan: Start with encrypted wallet, password 'foo' NOTE: python -c 'import time; print("%d"%time.time())' ... will tell you current unix timestamp. Try: walletpassphrase foo 600 getinfo EXPECT: unlocked_until is about 10 minutes in the future walletpassphrase foo 1 sleep 2 sendtoaddress mun74Bvba3B1PF2YkrF4NsgcJwHXXh12LF 11 EXPECT: Error: Please enter the wallet passphrase with walletpassphrase first. walletpassphrase foo 600 walletpassphrase foo 0 getinfo EXPECT: wallet is locked (unlocked_until is 0) walletpassphrase foo 10 walletpassphrase foo 600 getinfo EXPECT: wallet is unlocked until 10 minutes in future walletpassphrase foo 60 walletpassphrase bar 600 EXPECT: Error, incorrect passphrase getinfo EXPECT: wallet still scheduled to lock 60 seconds from first (successful) walletpassphrase
* | | | | | | | | | | | Merge pull request #2600 from sipa/keyrefactorJeff Garzik2013-05-3028-595/+641
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor key.cpp/.h
| * | | | | | | | | | | | Make signature cache store CPubKeysPieter Wuille2013-05-303-12/+19
| | | | | | | | | | | | |
| * | | | | | | | | | | | CSecret/CKey -> CKey/CPubKey split/refactorPieter Wuille2013-05-3026-595/+564
| | | | | | | | | | | | |
| * | | | | | | | | | | | Make CPubKey statically allocatedPieter Wuille2013-05-307-28/+98
| | |_|_|/ / / / / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge pull request #2693 from jgarzik/checkpoint-boolJeff Garzik2013-05-303-3/+9
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Replace repeated GetBoolArg() calls with Checkpoint::fEnabled variable set once at init time
| * | | | | | | | | | | | Replace repeated GetBoolArg() calls with Checkpoint::fEnabled variableJeff Garzik2013-05-243-3/+9
| | |_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set once at init time.
* | | | | | | | | | | | Merge pull request #2104 from al42and/listreceivedbyaddress_txidsJeff Garzik2013-05-302-8/+41
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | listreceivedbyaddress now provides tx ids (issue #1149)
| * | | | | | | | | | | | Updated help and tests for getreceivedby(account|address)Andrey2012-12-162-10/+35
| | | | | | | | | | | | |
| * | | | | | | | | | | | listreceivedbyaddress now provides tx ids (issue #1149)Andrey2012-12-131-0/+8
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #2657 from gmaxwell/its_after_may15_foreverJeff Garzik2013-05-302-25/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / |/| | | | | | | | | | | | It's after 2013-05-15 forever now, so remove the code for the May 15 fork
| * | | | | | | | | | | | It's after 2013-05-15 forever now, so remove the code for the May 15 fork.Gregory Maxwell2013-05-162-25/+0
| | |_|_|/ / / / / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge pull request #2671 from bytemaster/masterPieter Wuille2013-05-291-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Memory Leak
| * | | | | | | | | | | | Fix memory leak on exception in Key::SignCompactDaniel Larimer2013-05-191-0/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | fix memory leak in CKey::SetCompactSignature()Daniel Larimer2013-05-191-0/+1
| |/ / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #2713 from sipa/zerodotninePieter Wuille2013-05-291-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare for 0.9 merge window
| * | | | | | | | | | | | Prepare for 0.9 merge windowPieter Wuille2013-05-301-3/+3
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge pull request #2695 from robbak/init_cpp-explicit_castPieter Wuille2013-05-291-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | Explictly cast calculation to int, to allow std::min to work.
| * | | | | | | | | | | Explictly cast calculation to int, to allow std::max to work.Robert Backhaus2013-05-241-1/+1
| | |_|/ / / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge pull request #2696 from robbak/util_h-Add_stdarg_includev0.8.2Wladimir J. van der Laan2013-05-251-0/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Explicitly #include stdarg.h, for access to va_list
| * | | | | | | | | | | Explicitly #include stdarg.h, for access to va_listRobert Backhaus2013-05-241-0/+2
| |/ / / / / / / / / /
* | | | | | | | | | | Bump build number to 0.8.2.2 for v0.8.2rc3v0.8.2rc3Gavin Andresen2013-05-241-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #2683 from Diapolo/translationsGavin Andresen2013-05-241-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | translations update 2013-05-23