Skip to content

Commit 1d8df01

Browse files
committed
Fix MD formatting in REST-interface.md and spelling mistake in
test_runner.py
1 parent 41f3e84 commit 1d8df01

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/REST-interface.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ The interface runs on the same port as the JSON-RPC interface, by default port 8
88
Supported API
99
-------------
1010

11-
####Transactions
11+
#### Transactions
1212
`GET /rest/tx/<TX-HASH>.<bin|hex|json>`
1313

1414
Given a transaction hash: returns a transaction in binary, hex-encoded binary, or JSON formats.
1515

1616
For full TX query capability, one must enable the transaction index via "txindex=1" command line / configuration option.
1717

18-
####Blocks
18+
#### Blocks
1919
`GET /rest/block/<BLOCK-HASH>.<bin|hex|json>`
2020
`GET /rest/block/notxdetails/<BLOCK-HASH>.<bin|hex|json>`
2121

@@ -25,12 +25,12 @@ The HTTP request and response are both handled entirely in-memory, thus making m
2525

2626
With the /notxdetails/ option JSON response will only contain the transaction hash instead of the complete transaction details. The option only affects the JSON response.
2727

28-
####Blockheaders
28+
#### Blockheaders
2929
`GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json>`
3030

3131
Given a block hash: returns <COUNT> amount of blockheaders in upward direction.
3232

33-
####Chaininfos
33+
#### Chaininfos
3434
`GET /rest/chaininfo.json`
3535

3636
Returns various state info regarding block chain processing.
@@ -46,7 +46,7 @@ Only supports JSON as output format.
4646
* pruneheight : (numeric) heighest block available
4747
* softforks : (array) status of softforks in progress
4848

49-
####Query UTXO set
49+
#### Query UTXO set
5050
`GET /rest/getutxos/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json>`
5151

5252
The getutxo command allows querying of the UTXO set given a set of outpoints.
@@ -79,7 +79,7 @@ $ curl localhost:18332/rest/getutxos/checkmempool/b2cdfd7b89def827ff8af7cd9bff76
7979
}
8080
```
8181

82-
####Memory pool
82+
#### Memory pool
8383
`GET /rest/mempool/info.json`
8484

8585
Returns various information about the TX mempool.

test/functional/test_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def print_results(test_results, max_len_name, runtime):
348348

349349
class TestHandler:
350350
"""
351-
Trigger the testscrips passed in via the list.
351+
Trigger the test scripts passed in via the list.
352352
"""
353353

354354
def __init__(self, num_tests_parallel, tests_dir, tmpdir, test_list=None, flags=None):

0 commit comments

Comments
 (0)