Skip to content

Commit 0825b86

Browse files
committed
doc: /rest/block responds with 404 if block does not exist
1 parent be625f7 commit 0825b86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/REST-interface.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ For full TX query capability, one must enable the transaction index via "txindex
2727
`GET /rest/block/notxdetails/<BLOCK-HASH>.<bin|hex|json>`
2828

2929
Given a block hash: returns a block, in binary, hex-encoded binary or JSON formats.
30+
Responds with 404 if the block doesn't exist.
3031

3132
The HTTP request and response are both handled entirely in-memory, thus making maximum memory usage at least 2.66MB (1 MB max block, plus hex encoding) per request.
3233

0 commit comments

Comments
 (0)