MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
MarcoFalke
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
9 years ago
MarcoFalke
fa524d9ddb
[qa] Use python2/3 syntax
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
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.
9 years ago
Pavel Janík
70180b2e57
Implement REST mempool API, add test and documentation.
9 years ago
Veres Lajos
9f68ed6b6d
typofixes (found by misspell_fixer)
10 years ago
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).
10 years ago
Jonas Schnelli
c45c7ea0fa
[REST] add JSON support for /rest/headers/
10 years ago
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.
10 years ago
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
10 years ago
Jonas Schnelli
6b4feb89a8
[QA] rest.py RPC test: change setgenerate() to generate()
10 years ago
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
10 years ago
Pieter Wuille
6b04508e37
Introduce separate 'generate' RPC call
10 years ago
Jonas Schnelli
59582c8b8d
[REST] add /rest/chaininfos
10 years ago
Pieter Wuille
f676c80f43
Add /rest/headers
10 years ago
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
10 years ago
Matt Corallo
db0916bd13
Fix missing python2 in rpc-tests
10 years ago
Wladimir J. van der Laan
90f7aa7778
Fix rest.py test after #5376
10 years ago
Jonas Schnelli
01dc2d83f8
[REST] add REST interface tests in rpc-test section
10 years ago