UdjinM6
6af7a58d92
Merge remote-tracking branch 'bitcoin/0.12' into mergebtc12, fix/dashify
...
NOTE: .travis.yml was mostly preserved, probably needs additional attention
2016-08-26 04:09:20 +03:00
MarcoFalke
f1f1b82033
[qa] py2: Unfiddle strings into bytes explicitly
...
Github-Pull: #7853
Rebased-From: faa41ee204
, fa7abe0a00
Conflicts:
qa/rpc-tests/invalidtxrequest.py
qa/rpc-tests/p2p-feefilter.py
qa/rpc-tests/proxy_test.py
qa/rpc-tests/test_framework/mininode.py
qa/rpc-tests/test_framework/netutil.py
src/test/bctest.py
2016-04-15 09:55:12 +02:00
MarcoFalke
ff9b436163
[qa] Bug fixes and refactor
...
Github-Pull: #7778
Rebased-From: fa524d9ddb
fa2cea163b
faaa3c9b65
444480649f
2016-04-05 11:55:07 +02:00
UdjinM6
31ff9c2ff8
Fix rpc-tests, relies on PRs #715-#719
...
Closes #720
2016-03-06 18:16:02 +01:00
MarcoFalke
d8b062d752
[qa] Fix pyton syntax in rpc tests
...
Github-Pull: #7335
Rebased-From: 7777994846
2016-01-18 10:46:46 +01:00
MarcoFalke
333e1eaeea
Bump copyright headers to 2015
...
- Bump copyright headers to 2015
- [devtools] Rewrite fix-copyright-headers.py
- [devtools] Use git pretty-format for year parsing
Github-Pull: #7205
Rebased-From: fa6ad855e9
fa24439ff3
fa71669452
2016-01-05 14:13:33 +01:00
Wladimir J. van der Laan
ee2a42b447
tests: GET requests cannot have request body, use POST in rest.py
...
Sending a request body with GET request is not valid in HTTP spec, and
not compatible with evhttpd.
2015-09-02 18:38:42 +02:00
Wladimir J. van der Laan
80cddbbba9
Merge pull request #6539
...
9f68ed6
typofixes (found by misspell_fixer) (Veres Lajos)
2015-08-19 17:28:00 +02:00
Pavel Janík
70180b2e57
Implement REST mempool API, add test and documentation.
2015-08-14 07:01:03 +02:00
Veres Lajos
9f68ed6b6d
typofixes (found by misspell_fixer)
2015-08-10 22:06:27 +01:00
Wladimir J. van der Laan
7650449a67
univalue: Avoid unnecessary roundtrip through double for numbers
...
JSON makes no distinction between numbers and reals, and our code
doesn't need to do so either.
This removes VREAL, as well as its specific post-processing in
`UniValue::write`. Non-monetary amounts do not need to be forcibly
formatted with 8 decimals, so the extra roundtrip was unnecessary
(and potentially loses precision).
2015-07-18 09:04:18 +02:00
Jonas Schnelli
c45c7ea0fa
[REST] add JSON support for /rest/headers/
2015-07-05 15:48:33 +02:00
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)
2015-06-01 09:48:17 +02:00
Jonas Schnelli
6e71efa9f0
[REST] remove json input for getutxos, limit to query max. 15 outpoints
...
Remove possibility to send json encoded parameters to `/rest/getutxos/` to avoid possible DoS scenarios.
The JSON output option is untouched.
2015-05-27 20:10:02 +02:00
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
2015-05-18 15:25:45 +02:00
Jonas Schnelli
6b4feb89a8
[QA] rest.py RPC test: change setgenerate() to generate()
2015-04-21 20:33:02 +02:00
Jonas Schnelli
97ee866549
[REST] getutxos REST command (based on Bip64)
...
has parts of @mhearn #4351
* allows querying the utxos over REST
* same binary input and outputs as mentioned in Bip64
* input format = output format
* various rpc/rest regtests
2015-04-21 20:26:49 +02:00
Pieter Wuille
6b04508e37
Introduce separate 'generate' RPC call
2015-04-01 11:47:10 -07:00
Jonas Schnelli
59582c8b8d
[REST] add /rest/chaininfos
2014-12-29 20:19:48 +01:00
Pieter Wuille
f676c80f43
Add /rest/headers
2014-12-12 16:37:00 +01:00
Jonas Schnelli
73351c3686
[REST] /rest/block response with full tx details
...
- rest block request returns full unfolded tx details
- /rest/block/notxdetails/<HASH> returns block where transactions are only represented by its hash
2014-12-09 16:05:50 +01:00
Matt Corallo
db0916bd13
Fix missing python2 in rpc-tests
2014-12-05 16:04:05 -08:00
Wladimir J. van der Laan
90f7aa7778
Fix rest.py test after #5376
2014-12-02 15:57:20 +01:00
Jonas Schnelli
01dc2d83f8
[REST] add REST interface tests in rpc-test section
2014-12-01 12:52:21 +01:00