aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-08-26Split up util.cpp/hWladimir J. van der Laan
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.
2014-08-26Move `COIN` and `CENT` to core.hWladimir J. van der Laan
Eventually these should end up in `money.h` after monetary amounts are typedef'ed, but at least they don't belong in `util.h`.
2014-08-26Move `*Version()` functions to version.h/cppWladimir J. van der Laan
2014-08-26Move `S_I*` constants and `MSG_NOSIGNAL` to compat.hWladimir J. van der Laan
2014-08-26Move functions in wallet.h to implementation fileWladimir J. van der Laan
Breaks compile-time dependency of wallet.h on util.
2014-08-26move functions in main and net to implementation filesWladimir J. van der Laan
2014-08-26Move SetThreadPriority implementation to util.cpp instead of the headerWladimir J. van der Laan
Put the THREAD_* and PRIO_ constants in compat.h.
2014-08-26Remove unused function `ByteReverse` from util.hWladimir J. van der Laan
2014-08-26Remove unused `alignup` function from util.hWladimir J. van der Laan
2014-08-26Move CMedianFilter to timedata.cppWladimir J. van der Laan
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.
2014-08-25Merge pull request #4716Wladimir J. van der Laan
0d27dad Clean-up SyncWithWallets/SyncTransaction (Cozz Lovan)
2014-08-25Merge pull request #4654Wladimir J. van der Laan
c4a7709 Fixes ignored qt 4.8 codecs path on windows when configuring with --with-qt-libdir (ntrgn)
2014-08-25Merge pull request #4351Wladimir J. van der Laan
da2ec10 Add a getutxos command to the p2p protocol. It allows querying of the UTXO set given a set of outpoints. (Mike Hearn)
2014-08-24Make CScript::clear() release its memoryPieter Wuille
2014-08-24Allow BatchWrite to destroy its input, reducing copyingPieter Wuille
2014-08-24Merge pull request #4618Pieter Wuille
eb0b56b Simplify serialize.h's exception handling (Pieter Wuille)
2014-08-23Merge pull request #4632Jeff Garzik
2014-08-23Merge pull request #4718Wladimir J. van der Laan
88fe88c gui: remove redundant numTransactions tracking (Wladimir J. van der Laan)
2014-08-22Merge pull request #4733Jeff Garzik
2014-08-21Merge pull request #4735Wladimir J. van der Laan
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)
2014-08-21Merge pull request #4706Wladimir J. van der Laan
8695a39 replace int with size_t in stream methods (Kamil Domanski)
2014-08-20Merge pull request #4744Jeff Garzik
2014-08-20rpc_tests: use BOOST_CHECK_EQUALJeff Garzik
Upon failure, BOOST_CHECK_EQUAL provides additional diagnostic information, displaying that data that failed to match.
2014-08-20Remove all other print() methodsWladimir J. van der Laan
All unused.
2014-08-20Move strprintf define to tinyformat.hWladimir J. van der Laan
This avoids a dependency on util.h if just tinyformat is needed.
2014-08-20Remove print() from core functionsWladimir J. van der Laan
Break dependency on util.
2014-08-20UniValue tests: use more BOOST_CHECK()Jeff Garzik
2014-08-20UniValue: add unit testsJeff Garzik
2014-08-20UniValue: compact (!pretty) output should not include extra whitespaceJeff Garzik
2014-08-20UniValue: use correct setNumStr() input val, when setting number valuesJeff Garzik
2014-08-19Add bitcoin-tx testsJeff Garzik
Testing: delin, delout, locktime, and basic createrawtransaction-like functionality.
2014-08-19Merge pull request #4717 from cozz/cozz8Gavin Andresen
[Qt] Revert overviewpage from QFormLayout to QVBoxLayout
2014-08-19Merge pull request #4728 from laanwj/2014_08_rpcserver_password_delayGavin Andresen
Don't reveal whether password is <20 or >20 characters in RPC
2014-08-19bitcoin-tx: Accept input via stdin. Add input handling to tests.Jeff Garzik
2014-08-19Add "it works" test for bitcoin-txJeff Garzik
2014-08-19Don't reveal whether password is <20 or >20 characters in RPCWladimir J. van der Laan
As discussed on IRC. It seems bad to base a decision to delay based on the password length, as it leaks a small amount of information.
2014-08-19Merge pull request #4670Wladimir J. van der Laan
a35b55b Dont run full check every time we decrypt wallet. (Matt Corallo) 1e21c17 Make CCryptoKeyStore::Unlock check all keys. (Gregory Maxwell)
2014-08-19Merge pull request #4672Wladimir J. van der Laan
22b3c4b remove unused class CAddrMan; from db.h (Philip Kaufmann)
2014-08-19Merge pull request #4725Wladimir J. van der Laan
e432a5f build: add option for reducing exports (v2) (Cory Fields)
2014-08-19Merge branch '2014_univalue_warn' into merge-PR4715Jeff Garzik
Merge pull request #4715
2014-08-18addrman: Do not propagate obviously poor addresses onto the networkJeff Garzik
2014-08-18build: add option for reducing exports (v2)Cory Fields
This was committed previously as 4975ae172 and reverted, because the flags were applied even if the checks didn't pass. This is the same commit, fixed up to actually disable the functionality when necessary. Enabled automatically if boost >= 1.49. See: https://svn.boost.org/trac/boost/ticket/2309 Also, check for a default visibility attribute, so that we can mark future api functions correctly.
2014-08-18replace int with size_t in stream methodsKamil Domanski
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.
2014-08-18Merge pull request #4704Wladimir J. van der Laan
54c7df8 build: Fix boost build on some platforms (Cory Fields)
2014-08-18Revert "build: add option for reducing exports"Wladimir J. van der Laan
Revert #4663 for now. It still breaks the pulltester. This reverts commit 4975ae1722cd8af63eda2f02ef64a98091b6fb58. Conflicts: configure.ac
2014-08-18Univalue: Do not build JSON escape list at runtimeJeff Garzik
No need to waste startup time building something that can be done at compile time. This also resolves a clang++ warning originally reported in #4714, univalue/univalue_write.cpp:33:12: warning: array subscript is of type 'char escapes['"'] = "\\""; ^~~~ etc.
2014-08-18qt: Use quint64 for formatServicesStrWladimir J. van der Laan
`uint64_t` was causing a build error on some systems, as that type is not known after including just the Qt headers.
2014-08-18Merge pull request #4605Wladimir J. van der Laan
aa82795 Add detailed network info to getnetworkinfo RPC (Wladimir J. van der Laan) 075cf49 Add GetNetworkName function (Wladimir J. van der Laan) c91a947 Add IsReachable(net) function (Wladimir J. van der Laan) 60dc8e4 Allow -onlynet=onion to be used (Wladimir J. van der Laan)
2014-08-18Add detailed network info to getnetworkinfo RPCWladimir J. van der Laan
This commit adds per-network information to the getnetworkinfo RPC call: - Is the network limited? - Is the network reachable - Which proxy is used for this network, if any Inspired by #2575.
2014-08-18gui: remove redundant numTransactions trackingWladimir J. van der Laan
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.