diff options
| author | João Barbosa <[email protected]> | 2019-01-16 11:44:03 +0000 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2019-01-16 11:44:03 +0000 |
| commit | be625f7c5562afed517ff51d2d85268ba5ce6017 (patch) | |
| tree | d408b679a8e084baf86abe4e125203e6b06699f8 | |
| parent | Merge #15136: qt: "Peers" tab overhaul (diff) | |
| download | discoin-be625f7c5562afed517ff51d2d85268ba5ce6017.tar.xz discoin-be625f7c5562afed517ff51d2d85268ba5ce6017.zip | |
doc: Explain empty result of /rest/headers
| -rw-r--r-- | doc/REST-interface.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md index 44df69838..18a15dc91 100644 --- a/doc/REST-interface.md +++ b/doc/REST-interface.md @@ -36,6 +36,7 @@ With the /notxdetails/ option JSON response will only contain the transaction ha `GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json>` Given a block hash: returns <COUNT> amount of blockheaders in upward direction. +Returns empty if the block doesn't exist or it isn't in the active chain. #### Chaininfos `GET /rest/chaininfo.json` |