aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix missing univalue types during constructingJonas Schnelli2015-06-042-3/+3
|
* fix rpc batching univalue issueJonas Schnelli2015-06-041-1/+1
|
* Remove JSON Spirit wrapper, remove JSON Spirit leftoversJonas Schnelli2015-06-0437-2202/+212
| | | | | | - implement find_value() function for UniValue - replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper - remove JSON Spirit sources
* remove JSON Spirit UniValue wrapperJonas Schnelli2015-06-0423-258/+239
|
* fix rpc unit test, plain numbers are not JSON compatible objectJonas Schnelli2015-06-041-2/+2
| | | | UniValues read() does only read valid json.
* univalue: correct bool supportJonas Schnelli2015-06-041-0/+10
|
* univalue: add support for real, fix percision and make it json_spirit compatibleJonas Schnelli2015-06-045-10/+25
| | | | - avoid breaking the API because of different number/percision handling
* special threatment for null,true,false because they are non valid jsonJonas Schnelli2015-06-041-2/+14
|
* expicit set UniValue type to avoid empty valuesJonas Schnelli2015-06-0410-92/+93
|
* extend conversion to UniValueJonas Schnelli2015-06-0413-69/+76
|
* Convert tree to using univalue. Eliminate all json_spirit uses.Jeff Garzik2015-06-0423-205/+321
|
* UniValue: export NullUniValue global constantJeff Garzik2015-06-042-5/+7
|
* UniValue: prefer .size() to .count(), to harmonize w/ existing treeJeff Garzik2015-06-043-11/+11
|
* Merge pull request #6220Wladimir J. van der Laan2015-06-031-1/+1
|\ | | | | | | d648236 bump version in clientversion.h (Philip Kaufmann)
| * bump version in clientversion.hPhilip Kaufmann2015-06-021-1/+1
| |
* | Merge pull request #5875Wladimir J. van der Laan2015-06-037-22/+260
|\ \ | | | | | | | | | | | | aa8c827 P2P regression test for new AcceptBlock behavior (Suhas Daftuar) 9be0e68 Be stricter in processing unrequested blocks (Suhas Daftuar)
| * | P2P regression test for new AcceptBlock behaviorSuhas Daftuar2015-06-022-0/+227
| | |
| * | Be stricter in processing unrequested blocksSuhas Daftuar2015-06-025-22/+33
| |/ | | | | | | | | AcceptBlock will no longer process an unrequested block, unless it has not been previously processed and has more work than chainActive.Tip()
* | Merge pull request #6218Wladimir J. van der Laan2015-06-035-8/+8
|\ \ | | | | | | | | | | | | | | | 960e994 gitian: Bump cache dir for current master (Cory Fields) be65628 gitian: bump faketime to something more recent (Cory Fields) c3cdd7b osx: set min version to 10.7 for 0.11+ (Cory Fields)
| * | gitian: Bump cache dir for current masterCory Fields2015-06-023-3/+3
| | | | | | | | | | | | Do not backport.
| * | gitian: bump faketime to something more recentCory Fields2015-06-024-4/+4
| | | | | | | | | | | | This helps in file views where binaries are sorted by time
| * | osx: set min version to 10.7 for 0.11+Cory Fields2015-06-021-1/+1
| |/
* | Merge pull request #6226Wladimir J. van der Laan2015-06-032-3/+21
|\ \ | | | | | | | | | 4e157fc json: fail read_string if string contains trailing garbage (Wladimir J. van der Laan)
| * | json: fail read_string if string contains trailing garbageWladimir J. van der Laan2015-06-032-3/+21
| |/ | | | | | | | | | | | | | | | | | | Change `read_string` to fail when not the entire input has been consumed. This avoids unexpected, even dangerous behavior (fixes #6223). The new JSON parser adapted in #6121 also solves this problem so in master this is a temporary fix, but should be backported to older releases. Also adds tests for the new behavior.
* | Merge pull request #6214Wladimir J. van der Laan2015-06-039-13/+25
|\ \ | |/ |/| | | | | 0a32a93 OSX: use "Bitcoin Core" as Bundle Display Name (Jonas Schnelli) a2241ea [OSX] revert renaming of Bitcoin-Qt.app (Jonas Schnelli)
| * OSX: use "Bitcoin Core" as Bundle Display NameJonas Schnelli2015-06-035-5/+17
| |
| * [OSX] revert renaming of Bitcoin-Qt.appJonas Schnelli2015-06-016-8/+8
| |
* | Merge pull request #6203Wladimir J. van der Laan2015-06-021-6/+0
|\ \ | | | | | | | | | d449772 Remove P2SH coinbase flag, no longer interesting (Luke Dashjr)
| * | Remove P2SH coinbase flag, no longer interestingLuke Dashjr2015-05-311-6/+0
| | |
* | | Merge pull request #6210Wladimir J. van der Laan2015-06-021-1/+1
|\ \ \ | | | | | | | | | | | | 7fd5b80 build: disable optional use of gmp in internal secp256k1 build (Wladimir J. van der Laan)
| * | | build: disable optional use of gmp in internal secp256k1 buildWladimir J. van der Laan2015-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until secp256k1 is used for verification there is no reason for Bitcoin Core's secp256k1 to link against gmp, even if available. Pass a flag to configure to override the bignum implementation. This fixes a crash at runtime on ppc64 reported by @gmaxwell.
* | | | Merge pull request #6172Wladimir J. van der Laan2015-06-021-0/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | a1ba077 Ignore getheaders requests when not synced. (Suhas Daftuar)
| * | | Ignore getheaders requests when not synced.Suhas Daftuar2015-05-271-0/+3
| | | |
* | | | Merge pull request #6183Wladimir J. van der Laan2015-06-018-38/+39
|\ \ \ \ | | | | | | | | | | | | | | | 28bf062 Fix off-by-one error w/ nLockTime in the wallet (Peter Todd)
| * | | | Fix off-by-one error w/ nLockTime in the walletPeter Todd2015-05-278-38/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously due to an off-by-one error the wallet ignored nLockTime-by-height transactions that would be valid in the next block even though they are accepted into the mempool. The transactions wouldn't show up until confirmed, nor would they be included in the unconfirmed balance. Similar to the mempool behavior fix in 665bdd3b, the wallet code was calling IsFinalTx() directly without taking into account the fact that doing so tells you if the transaction could have been mined in the *current* block, rather than the next block. To fix this we strip IsFinalTx() of non-consensus-critical functionality, removing the default arguments, and add CheckFinalTx() to check if a transaction will be final in the next block.
* | | | | Merge pull request #6164Wladimir J. van der Laan2015-06-013-2/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aa41bc8 Update help message to match the #4219 change (lpescher) f60bb5e Update documentation to match the #4219 change (lpescher) cb87386 Make command line option to show all debugging consistent with similar options (lpescher)
| * | | | | Update help message to match the #4219 changelpescher2015-05-191-1/+1
| | | | | |
| * | | | | Update documentation to match the #4219 changelpescher2015-05-191-1/+1
| | | | | |
| * | | | | Make command line option to show all debugging consistent with similar optionslpescher2015-05-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most people expect a value of 1 to enable all for command line arguments. However to do this for the -debug option you must type "-debug=". This has been changed to allow "-debug=1" as well as "-debug=" to enable all debug logging
* | | | | | Merge pull request #6198Wladimir J. van der Laan2015-06-011-1/+9
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | 0bb4385 Improve comment explaining purpose of MAX_MONEY constant (Peter Todd)
| * | | | | Improve comment explaining purpose of MAX_MONEY constantPeter Todd2015-05-271-1/+9
| | | | | |
* | | | | | Now that 0.11 has been branched, master is 0.11.99Wladimir J. van der Laan2015-06-015-271/+7
| | | | | | | | | | | | | | | | | | | | | | | | ... in preparation for 0.12
* | | | | | Merge pull request #6208Wladimir J. van der Laan2015-06-012-6/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6922aa [net, trivial] remove using namespace std pollution in netbase.cpp (Philip Kaufmann) 49b2292 [net, trivial] explicitly use std::string for FindNode (Philip Kaufmann)
| * | | | | | [net, trivial] remove using namespace std pollution in netbase.cppPhilip Kaufmann2015-05-311-4/+2
| | | | | | |
| * | | | | | [net, trivial] explicitly use std::string for FindNodePhilip Kaufmann2015-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - in OpenNetworkConnection we have a FindNode call, which gets a const char*, wheras we only have defined a FindNode for std::string
* | | | | | | Merge pull request #6193Wladimir J. van der Laan2015-06-013-97/+113
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e71efa [REST] remove json input for getutxos, limit to query max. 15 outpoints (Jonas Schnelli) 64b8027 rest.cpp: strip whitespace (Jonas Schnelli)
| * | | | | | | [REST] remove json input for getutxos, limit to query max. 15 outpointsJonas Schnelli2015-05-273-92/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove possibility to send json encoded parameters to `/rest/getutxos/` to avoid possible DoS scenarios. The JSON output option is untouched.
| * | | | | | | rest.cpp: strip whitespaceJonas Schnelli2015-05-271-5/+5
| | | | | | | |
* | | | | | | | Merge pull request #6195Wladimir J. van der Laan2015-06-011-7/+7
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | 8273793 Eliminate compiler warning due to unused variable (Suhas Daftuar)
| * | | | | | | Eliminate compiler warning due to unused variableSuhas Daftuar2015-05-271-7/+7
| | | | | | | |