Jonas Schnelli
ef5fca8b80
fix rpcmining/getblocktemplate univalue transition logic error
10 years ago
Jonas Schnelli
44c7474446
univalue: add type check unit tests
10 years ago
Wladimir J. van der Laan
c02309204b
univalue: add strict type checking
10 years ago
Wladimir J. van der Laan
7e98a3c642
util: Add ParseInt64 and ParseDouble functions
...
Strict parsing functions for other numeric types.
- ParseInt64 analogous to ParseInt32, but for 64-bit values.
- ParseDouble for doubles.
- Make all three Parse* functions more strict (e.g. reject whitespace on
the inside)
Also add tests.
10 years ago
Wladimir J. van der Laan
043df2b568
Simplify RPCclient, adapt json_parse_error test
...
# Conflicts:
# src/test/rpc_tests.cpp
10 years ago
Jonas Schnelli
519eedeba7
fix univalue json parse tests
10 years ago
Jonas Schnelli
c7fbbc7e1d
fix missing univalue types during constructing
10 years ago
Jonas Schnelli
8f7e4abbe6
fix rpc batching univalue issue
10 years ago
Jonas Schnelli
9a8897f4ac
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
...
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
10 years ago
Jonas Schnelli
3df0411ad9
remove JSON Spirit UniValue wrapper
10 years ago
Jonas Schnelli
1f263c899e
fix rpc unit test, plain numbers are not JSON compatible object
...
UniValues read() does only read valid json.
10 years ago
Jonas Schnelli
e04d9c25cf
univalue: correct bool support
10 years ago
Jonas Schnelli
0c5b2cf69a
univalue: add support for real, fix percision and make it json_spirit compatible
...
- avoid breaking the API because of different number/percision handling
10 years ago
Jonas Schnelli
21c10de8c2
special threatment for null,true,false because they are non valid json
10 years ago
Jonas Schnelli
6c7bee0624
expicit set UniValue type to avoid empty values
10 years ago
Jonas Schnelli
53b4671a9d
extend conversion to UniValue
10 years ago
Jeff Garzik
15982a8b69
Convert tree to using univalue. Eliminate all json_spirit uses.
10 years ago
Jeff Garzik
5e3060c0d1
UniValue: export NullUniValue global constant
10 years ago
Jeff Garzik
efc7883772
UniValue: prefer .size() to .count(), to harmonize w/ existing tree
10 years ago
Wladimir J. van der Laan
dbd8550231
Merge pull request #6220
...
d648236
bump version in clientversion.h (Philip Kaufmann)
10 years ago
Wladimir J. van der Laan
9d60602444
Merge pull request #5875
...
aa8c827
P2P regression test for new AcceptBlock behavior (Suhas Daftuar)
9be0e68
Be stricter in processing unrequested blocks (Suhas Daftuar)
10 years ago
Wladimir J. van der Laan
9d67b10091
Merge pull request #6218
...
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)
10 years ago
Wladimir J. van der Laan
c7272a50bd
Merge pull request #6226
...
4e157fc
json: fail read_string if string contains trailing garbage (Wladimir J. van der Laan)
10 years ago
Wladimir J. van der Laan
87406aa735
Merge pull request #6214
...
0a32a93
OSX: use "Bitcoin Core" as Bundle Display Name (Jonas Schnelli)
a2241ea
[OSX] revert renaming of Bitcoin-Qt.app (Jonas Schnelli)
10 years ago
Wladimir J. van der Laan
4e157fc60d
json: fail read_string if string contains trailing garbage
...
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.
10 years ago
Jonas Schnelli
0a32a9347e
OSX: use "Bitcoin Core" as Bundle Display Name
10 years ago
Suhas Daftuar
aa8c827968
P2P regression test for new AcceptBlock behavior
10 years ago
Suhas Daftuar
9be0e6837b
Be stricter in processing unrequested blocks
...
AcceptBlock will no longer process an unrequested block, unless it has not
been previously processed and has more work than chainActive.Tip()
10 years ago
Philip Kaufmann
d648236d87
bump version in clientversion.h
10 years ago
Cory Fields
960e99404f
gitian: Bump cache dir for current master
...
Do not backport.
10 years ago
Cory Fields
be656283f9
gitian: bump faketime to something more recent
...
This helps in file views where binaries are sorted by time
10 years ago
Cory Fields
c3cdd7b312
osx: set min version to 10.7 for 0.11+
10 years ago
Wladimir J. van der Laan
f00b62391b
Merge pull request #6203
...
d449772
Remove P2SH coinbase flag, no longer interesting (Luke Dashjr)
10 years ago
Wladimir J. van der Laan
0e4f2a0a1f
Merge pull request #6210
...
7fd5b80
build: disable optional use of gmp in internal secp256k1 build (Wladimir J. van der Laan)
10 years ago
Wladimir J. van der Laan
88a7ead5de
Merge pull request #6172
...
a1ba077
Ignore getheaders requests when not synced. (Suhas Daftuar)
10 years ago
Jonas Schnelli
a2241eabfd
[OSX] revert renaming of Bitcoin-Qt.app
10 years ago
Wladimir J. van der Laan
87550eefc1
Merge pull request #6183
...
28bf062
Fix off-by-one error w/ nLockTime in the wallet (Peter Todd)
10 years ago
Wladimir J. van der Laan
8d05ec7bda
Merge pull request #6164
...
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)
10 years ago
Wladimir J. van der Laan
4f1677b6ba
Merge pull request #6198
...
0bb4385
Improve comment explaining purpose of MAX_MONEY constant (Peter Todd)
10 years ago
Wladimir J. van der Laan
7fd5b801ff
build: disable optional use of gmp in internal secp256k1 build
...
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 .
10 years ago
Wladimir J. van der Laan
3e8ccc765a
Now that 0.11 has been branched, master is 0.11.99
...
... in preparation for 0.12
10 years ago
Wladimir J. van der Laan
e9d0d252fc
Merge pull request #6208
...
d6922aa
[net, trivial] remove using namespace std pollution in netbase.cpp (Philip Kaufmann)
49b2292
[net, trivial] explicitly use std::string for FindNode (Philip Kaufmann)
10 years ago
Wladimir J. van der Laan
42746b0476
Merge pull request #6193
...
6e71efa
[REST] remove json input for getutxos, limit to query max. 15 outpoints (Jonas Schnelli)
64b8027
rest.cpp: strip whitespace (Jonas Schnelli)
10 years ago
Wladimir J. van der Laan
921ea89bc3
Merge pull request #6195
...
8273793
Eliminate compiler warning due to unused variable (Suhas Daftuar)
10 years ago
Philip Kaufmann
d6922aad2c
[net, trivial] remove using namespace std pollution in netbase.cpp
10 years ago
Philip Kaufmann
49b22928ee
[net, trivial] explicitly use std::string for FindNode
...
- in OpenNetworkConnection we have a FindNode call, which gets a const
char*, wheras we only have defined a FindNode for std::string
10 years ago
Luke Dashjr
d449772cf6
Remove P2SH coinbase flag, no longer interesting
10 years ago
Wladimir J. van der Laan
b679a6b403
doc: Add to 0.11 release notes
...
Add information about further notable changes:
- Big endian support
- Memory usage optimization
- Disable wallet transaction broadcast
- Stream isolation for Tor
10 years ago
Wladimir J. van der Laan
fb061c3391
Merge pull request #6194
...
ee9a2e4
Fix walletbackup.py after directory restructuring (Suhas Daftuar)
10 years ago
Peter Todd
0bb43854c7
Improve comment explaining purpose of MAX_MONEY constant
10 years ago