From be625f7c5562afed517ff51d2d85268ba5ce6017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Barbosa?= Date: Wed, 16 Jan 2019 11:44:03 +0000 Subject: [PATCH] doc: Explain empty result of /rest/headers --- doc/REST-interface.md | 1 + 1 file changed, 1 insertion(+) 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//.` Given a block hash: returns 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`