aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-01-16 11:44:03 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-01-16 11:44:03 +0000
commitbe625f7c5562afed517ff51d2d85268ba5ce6017 (patch)
treed408b679a8e084baf86abe4e125203e6b06699f8 /doc
parentacec9e45c6fb6d5e72908c1a87b2b14f1ca5e3a0 (diff)
downloadbitcoin-be625f7c5562afed517ff51d2d85268ba5ce6017.tar.xz
doc: Explain empty result of /rest/headers
Diffstat (limited to 'doc')
-rw-r--r--doc/REST-interface.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index 44df698382..18a15dc915 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`