aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Revert "Add a getutxos command to the p2p protocol. It allows querying of ↵Wladimir J. van der Laan2014-08-274-89/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | the UTXO set" This reverts commit da2ec100f3681176f60dec6dc675fc64147ade3a.
* | | | qt: Add null check in setClientModel(0)Wladimir J. van der Laan2014-08-261-2/+5
| | | | | | | | | | | | | | | | | | | | Don't clear tray icon menu if it was never created. Necessary precaution after #4649.
* | | | Merge pull request #4673Wladimir J. van der Laan2014-08-2619-23/+172
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 1c5f0af [Qt] Add column Watch-only to transactions list (Cozz Lovan) 939ed97 Add boolean HaveWatchonly and signal NotifyWatchonlyChanged (Cozz Lovan)
| * | | | [Qt] Add column Watch-only to transactions listCozz Lovan2014-08-1112-13/+106
| | | | |
| * | | | Add boolean HaveWatchonly and signal NotifyWatchonlyChangedCozz Lovan2014-08-118-10/+66
| | | | |
* | | | | Merge pull request #4649Wladimir J. van der Laan2014-08-263-9/+40
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b197bf3 [Qt] disable tray interactions when client model set to 0 (Philip Kaufmann) 314fbd9 [Qt] use BitcoinGUI::DEFAULT_WALLET constant in bitcoin.cpp (Philip Kaufmann) 8ca6a16 [Qt] ensure all class attributes are init to 0 (Philip Kaufmann)
| * | | | | [Qt] disable tray interactions when client model set to 0Philip Kaufmann2014-08-082-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this prevents the ability to fiddle around with the system tray when already shutting down (e.g. on slow shutdowns because of a proxy delay) - extends solution for #4360
| * | | | | [Qt] use BitcoinGUI::DEFAULT_WALLET constant in bitcoin.cppPhilip Kaufmann2014-08-081-2/+2
| | | | | |
| * | | | | [Qt] ensure all class attributes are init to 0Philip Kaufmann2014-08-082-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | - in BitcoinGUI and UnitDisplayStatusBarControl
* | | | | | Merge pull request #4748Pieter Wuille2014-08-2666-1131/+1294
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ad49c25 Split up util.cpp/h (Wladimir J. van der Laan) f841aa2 Move `COIN` and `CENT` to core.h (Wladimir J. van der Laan) 6e5fd00 Move `*Version()` functions to version.h/cpp (Wladimir J. van der Laan) b4aa769 Move `S_I*` constants and `MSG_NOSIGNAL` to compat.h (Wladimir J. van der Laan) af8297c Move functions in wallet.h to implementation file (Wladimir J. van der Laan) 651480c move functions in main and net to implementation files (Wladimir J. van der Laan) 610a8c0 Move SetThreadPriority implementation to util.cpp instead of the header (Wladimir J. van der Laan) f780e65 Remove unused function `ByteReverse` from util.h (Wladimir J. van der Laan) 121d6ad Remove unused `alignup` function from util.h (Wladimir J. van der Laan) d1e26d4 Move CMedianFilter to timedata.cpp (Wladimir J. van der Laan)
| * | | | | | Split up util.cpp/hWladimir J. van der Laan2014-08-2657-734/+875
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util.
| * | | | | | Move `COIN` and `CENT` to core.hWladimir J. van der Laan2014-08-262-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eventually these should end up in `money.h` after monetary amounts are typedef'ed, but at least they don't belong in `util.h`.
| * | | | | | Move `*Version()` functions to version.h/cppWladimir J. van der Laan2014-08-268-28/+36
| | | | | | |
| * | | | | | Move `S_I*` constants and `MSG_NOSIGNAL` to compat.hWladimir J. van der Laan2014-08-262-14/+14
| | | | | | |
| * | | | | | Move functions in wallet.h to implementation fileWladimir J. van der Laan2014-08-262-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaks compile-time dependency of wallet.h on util.
| * | | | | | move functions in main and net to implementation filesWladimir J. van der Laan2014-08-264-211/+226
| | | | | | |
| * | | | | | Move SetThreadPriority implementation to util.cpp instead of the headerWladimir J. van der Laan2014-08-263-28/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Put the THREAD_* and PRIO_ constants in compat.h.
| * | | | | | Remove unused function `ByteReverse` from util.hWladimir J. van der Laan2014-08-261-6/+0
| | | | | | |
| * | | | | | Remove unused `alignup` function from util.hWladimir J. van der Laan2014-08-261-14/+0
| | | | | | |
| * | | | | | Move CMedianFilter to timedata.cppWladimir J. van der Laan2014-08-265-81/+98
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Now that we no longer use the median filter to keep track of the number of blocks of peers, that's the only place it is used.
* | | | | | Merge pull request #4763Pieter Wuille2014-08-262-0/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | aa41ac2 Test IsPushOnly() with invalid push (Peter Todd)
| * | | | | | Test IsPushOnly() with invalid pushPeter Todd2014-08-242-0/+13
| | | | | | |
* | | | | | | Use const CCoinsView's at some places.Daniel Kraft2014-08-264-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At some places where it is possible (e. g., CheckInputs), use a const version of CCoinsView instead of a non-const one.
* | | | | | | Make appropriate getter-routines "const" in CCoinsView.Daniel Kraft2014-08-266-48/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mark the "Get"/"Have" routines in CCoinsView and subclasses as "const".
* | | | | | | Mark LevelDB "Read" and "Exists" functions as const.Daniel Kraft2014-08-261-2/+2
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Mark the "Read" and "Exists" functions in CLevelDBWrapper as "const". They do not change anything in the DB, by definition.
* | | | | | Merge pull request #4716Wladimir J. van der Laan2014-08-252-8/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 0d27dad Clean-up SyncWithWallets/SyncTransaction (Cozz Lovan)
| * | | | | | Clean-up SyncWithWallets/SyncTransactionCozz Lovan2014-08-172-8/+2
| | | | | | |
* | | | | | | Merge pull request #4654Wladimir J. van der Laan2014-08-251-5/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c4a7709 Fixes ignored qt 4.8 codecs path on windows when configuring with --with-qt-libdir (ntrgn)
| * | | | | | | Fixes ignored qt 4.8 codecs path on windows when configuring with ↵ntrgn2014-08-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --with-qt-libdir
* | | | | | | | Merge pull request #4351Wladimir J. van der Laan2014-08-254-2/+89
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | da2ec10 Add a getutxos command to the p2p protocol. It allows querying of the UTXO set given a set of outpoints. (Mike Hearn)
| * | | | | | | Add a getutxos command to the p2p protocol. It allows querying of the UTXO setMike Hearn2014-08-114-2/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | given a set of outpoints.
* | | | | | | | Make CScript::clear() release its memoryPieter Wuille2014-08-241-0/+6
| | | | | | | |
* | | | | | | | Allow BatchWrite to destroy its input, reducing copyingPieter Wuille2014-08-244-14/+21
| | | | | | | |
* | | | | | | | Merge pull request #4618Pieter Wuille2014-08-243-59/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | eb0b56b Simplify serialize.h's exception handling (Pieter Wuille)
| * | | | | | | | Simplify serialize.h's exception handlingPieter Wuille2014-08-093-59/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the 'state' and 'exceptmask' from serialize.h's stream implementations, as well as related methods. As exceptmask always included 'failbit', and setstate was always called with bits = failbit, all it did was immediately raise an exception. Get rid of those variables, and replace the setstate with direct exception throwing (which also removes some dead code). As a result, good() is never reached after a failure (there are only 2 calls, one of which is in tests), and can just be replaced by !eof(). fail(), clear(n) and exceptions() are just never called. Delete them.
* | | | | | | | | Merge pull request #4632Jeff Garzik2014-08-231-4/+10
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | |
| * | | | | | | | addrman: Do not propagate obviously poor addresses onto the networkJeff Garzik2014-08-181-4/+10
| | | | | | | | |
* | | | | | | | | Merge pull request #4718Wladimir J. van der Laan2014-08-232-25/+0
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88fe88c gui: remove redundant numTransactions tracking (Wladimir J. van der Laan)
| * | | | | | | | | gui: remove redundant numTransactions trackingWladimir J. van der Laan2014-08-182-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This number was still tracked even though it's shown nowhere in the UI anymore. It was originally removed because it didn't match the actual number of records in the view (which contains outputs, not transactions) thus was confusing people.
* | | | | | | | | | Merge pull request #4733Jeff Garzik2014-08-228-4/+53
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Add bitcoin-tx testsJeff Garzik2014-08-198-4/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing: delin, delout, locktime, and basic createrawtransaction-like functionality.
* | | | | | | | | | | Merge pull request #4735Wladimir J. van der Laan2014-08-2115-90/+15
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3802224 Remove all other print() methods (Wladimir J. van der Laan) 9b6d4c5 Move strprintf define to tinyformat.h (Wladimir J. van der Laan) 8121258 Remove print() from core functions (Wladimir J. van der Laan)
| * | | | | | | | | | | Remove all other print() methodsWladimir J. van der Laan2014-08-2010-51/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All unused.
| * | | | | | | | | | | Move strprintf define to tinyformat.hWladimir J. van der Laan2014-08-203-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a dependency on util.h if just tinyformat is needed.
| * | | | | | | | | | | Remove print() from core functionsWladimir J. van der Laan2014-08-204-37/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Break dependency on util.
* | | | | | | | | | | | Merge pull request #4706Wladimir J. van der Laan2014-08-211-6/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8695a39 replace int with size_t in stream methods (Kamil Domanski)
| * | | | | | | | | | | | replace int with size_t in stream methodsKamil Domanski2014-08-181-6/+4
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thus the read(...) and write(...) methods of all stream classes now have identical parameter lists. This will bring these classes one step closer to a common interface.
* | | | | | | | | | | | Merge pull request #4744Jeff Garzik2014-08-201-16/+16
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | rpc_tests: use BOOST_CHECK_EQUALJeff Garzik2014-08-201-16/+16
| | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upon failure, BOOST_CHECK_EQUAL provides additional diagnostic information, displaying that data that failed to match.
* | | | | | | | | | | | UniValue tests: use more BOOST_CHECK()Jeff Garzik2014-08-201-20/+20
| | | | | | | | | | | |