aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | UniValue: add unit testsJeff Garzik2014-08-202-0/+276
| | | | | | | | | | | |
* | | | | | | | | | | | UniValue: compact (!pretty) output should not include extra whitespaceJeff Garzik2014-08-201-3/+8
| | | | | | | | | | | |
* | | | | | | | | | | | UniValue: use correct setNumStr() input val, when setting number valuesJeff Garzik2014-08-201-1/+1
|/ / / / / / / / / / /
* | | | | | | | | | | Merge pull request #4717 from cozz/cozz8Gavin Andresen2014-08-191-3/+3
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [Qt] Revert overviewpage from QFormLayout to QVBoxLayout
| * | | | | | | | | | | [Qt] Revert overviewpage from QFormLayout to QVBoxLayoutCozz Lovan2014-08-171-3/+3
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge pull request #4728 from laanwj/2014_08_rpcserver_password_delayGavin Andresen2014-08-191-3/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Don't reveal whether password is <20 or >20 characters in RPC
| * | | | | | | | | | | Don't reveal whether password is <20 or >20 characters in RPCWladimir J. van der Laan2014-08-191-3/+2
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | bitcoin-tx: Accept input via stdin. Add input handling to tests.Jeff Garzik2014-08-193-4/+40
| | | | | | | | | | |
* | | | | | | | | | | Add "it works" test for bitcoin-txJeff Garzik2014-08-195-1/+61
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #4670Wladimir J. van der Laan2014-08-192-5/+29
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a35b55b Dont run full check every time we decrypt wallet. (Matt Corallo) 1e21c17 Make CCryptoKeyStore::Unlock check all keys. (Gregory Maxwell)
| * | | | | | | | | | Dont run full check every time we decrypt wallet.Matt Corallo2014-08-102-1/+7
| | | | | | | | | | |
| * | | | | | | | | | Make CCryptoKeyStore::Unlock check all keys.Gregory Maxwell2014-08-101-4/+22
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CCryptoKeyStore::Unlock has a loop to attempt decrypting each key which only executes once, likely due to a simple mistake when the code was originally written. This patch fixes the behavior by making it check all keys. It also adds a fatal assertion in the case some decrypt but some do not, since that indicates that the wallet is in some kind of really bad state. This may make unlocking noticeably slower on wallets with many keys.
* | | | | | | | | | Merge pull request #4672Wladimir J. van der Laan2014-08-191-1/+0
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22b3c4b remove unused class CAddrMan; from db.h (Philip Kaufmann)
| * | | | | | | | | | remove unused class CAddrMan; from db.hPhilip Kaufmann2014-08-101-1/+0
| | |_|_|_|_|_|/ / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #4725Wladimir J. van der Laan2014-08-194-2/+6
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e432a5f build: add option for reducing exports (v2) (Cory Fields)
| * | | | | | | | | | build: add option for reducing exports (v2)Cory Fields2014-08-184-2/+6
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Merge branch '2014_univalue_warn' into merge-PR4715Jeff Garzik2014-08-194-20/+342
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | Merge pull request #4715
| * | | | | | | | | Univalue: Do not build JSON escape list at runtimeJeff Garzik2014-08-184-20/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Merge pull request #4704Wladimir J. van der Laan2014-08-181-0/+6
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54c7df8 build: Fix boost build on some platforms (Cory Fields)
| * | | | | | | | | | build: Fix boost build on some platformsCory Fields2014-08-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the libpath doesn't line up with the value from config.sub, we don't find the correct path to boost's libs. This adds a hack to try another path before giving up. Should close #3219.
* | | | | | | | | | | Revert "build: add option for reducing exports"Wladimir J. van der Laan2014-08-184-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert #4663 for now. It still breaks the pulltester. This reverts commit 4975ae1722cd8af63eda2f02ef64a98091b6fb58. Conflicts: configure.ac
* | | | | | | | | | | qt: Use quint64 for formatServicesStrWladimir J. van der Laan2014-08-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `uint64_t` was causing a build error on some systems, as that type is not known after including just the Qt headers.
* | | | | | | | | | | Merge pull request #4605Wladimir J. van der Laan2014-08-186-10/+51
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | | | | Add detailed network info to getnetworkinfo RPCWladimir J. van der Laan2014-08-182-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | Add GetNetworkName functionWladimir J. van der Laan2014-07-302-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returns the network name for an Network enum.
| * | | | | | | | | | Add IsReachable(net) functionWladimir J. van der Laan2014-07-302-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows other parts of the program to query for reachable status of a network. Similar to IsLimited(net).
| * | | | | | | | | | Allow -onlynet=onion to be usedWladimir J. van der Laan2014-07-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just an alias for onlynet=tor, but matches the new name of the proxy option -onion= better.
* | | | | | | | | | | Merge pull request #4655Wladimir J. van der Laan2014-08-184-14/+46
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 216e9a4 Add a way to limit deserialized string lengths (Pieter Wuille)
| * | | | | | | | | | | Add a way to limit deserialized string lengthsPieter Wuille2014-08-094-14/+46
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and use it for most strings being serialized.
* | | | | | | | | | | build: Add --with-utils (bitcoin-cli and bitcoin-tx, default=yes).randy-waterhouse2014-08-172-6/+4
| |_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Help string consistency tweaks. Target sanity check fix.
* | | | | | | | | | Merge pull request #4656Wladimir J. van der Laan2014-08-171-4/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cbda4f Changed LevelDB cursors to use scoped pointers to ensure destruction when going out of scope. (Ross Nicoll)
| * | | | | | | | | | Changed LevelDB cursors to use scoped pointers to ensure destruction when ↵Ross Nicoll2014-08-161-4/+2
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | going out of scope. This corrects a bug where an exception thrown reading from the database causes the cursor to be left open, which causes an assertion error to occur when the database is deleted (around line 938 of init.cpp).
* | | | | | | | | | Merge pull request #4663Wladimir J. van der Laan2014-08-174-2/+6
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | 4975ae1 build: add option for reducing exports (Cory Fields)
| * | | | | | | | | build: add option for reducing exportsCory Fields2014-08-154-2/+6
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / | | | | | | | build : fix CPPFLAGS for libbitcoin_clirandy-waterhouse2014-08-161-0/+1
|/ / / / / / / /
* | | | | | | | Merge pull request #4638Wladimir J. van der Laan2014-08-155-0/+41
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f2c26a Closely track mempool byte total. Add "getmempoolinfo" RPC. (Jeff Garzik)
| * | | | | | | | Closely track mempool byte total. Add "getmempoolinfo" RPC.Jeff Garzik2014-08-145-0/+41
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Goal: Gain live insight into the mempool. Groundwork for future work that caps mempool size.
* / | | | | | | build: fix automake warnings about the use of INCLUDESCory Fields2014-08-154-9/+18
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While we're at it, reduce the use of LIBS as well. This makes dependencies explicit. Fixes building with (the not-yet-merged) libsecp256k1 as well. Github-Pull: #4689 Rebased-By: Wladimir J. van der laan <[email protected]> Rebased-From: 909b347 c0e5dda
* | | | | | | Merge pull request #4659Wladimir J. van der Laan2014-08-142-10/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c4bae53 [Qt] move SubstituteFonts() above ToolTipToRichTextFilter (Philip Kaufmann)
| * | | | | | | [Qt] move SubstituteFonts() above ToolTipToRichTextFilterPhilip Kaufmann2014-08-082-10/+10
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | - doesn't belong to the ToolTipToRichTextFilter class so move it up
* | | | | | | bitcoin-tx: fix build warningsCory Fields2014-08-131-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleans up a bunch of: warning: missing braces around initializer for ‘const<anonymous struct>’
* | | | | | | Reapply: Reject transactions with excessive numbers of sigopsPeter Todd2014-08-132-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverting was based on a misunderstanding, it appears. Github-Pull: #4150
* | | | | | | Merge pull request #4682Wladimir J. van der Laan2014-08-131-20/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c33b983 Don't poll showmyip.com, it doesn't exist anymore (Wladimir J. van der Laan)
| * | | | | | | Don't poll showmyip.com, it doesn't exist anymoreWladimir J. van der Laan2014-08-131-20/+1
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4679. This leaves us with only one candidate, checkip.dyndns.org. GetMyExternalIP should be phased out as soon as possible.
* | | | | | | Revert "Reject transactions with excessive numbers of sigops"Wladimir J. van der Laan2014-08-122-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4fad8e6d831729efa1965fa2034e7e51d3d0a1be.
* | | | | | | Merge pull request #4150Wladimir J. van der Laan2014-08-122-3/+14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4fad8e6 Reject transactions with excessive numbers of sigops (Peter Todd)
| * | | | | | | Reject transactions with excessive numbers of sigopsPeter Todd2014-07-132-3/+14
| | | | | | | |
* | | | | | | | Merge pull request #4675Wladimir J. van der Laan2014-08-121-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | ea100c7 Reduce maximum coinscache size during verification (Wladimir J. van der Laan)
| * | | | | | | | Reduce maximum coinscache size during verificationWladimir J. van der Laan2014-08-111-1/+1
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to growing coinsviewcaches, the memory usage with checklevel=3 (and standard settings for dbcache) could be up to 500MiB on a 64-bit system. This is about twice the peak during reindexing, unnecessarily extending bitcoind's memory envelope. This commit reduces the maximum total size of the caches used during verification to just nCoinCacheSize, which should be the limit.
* | | | | | | | qt: better looking trayiconntrgn2014-08-125-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Github-Pull: #4678 Rebased-By: Wladimir J. van der Laan <[email protected]>