mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
additional info on INVALID block
This commit is contained in:
parent
1ef2da7c32
commit
005a164e6b
@ -303,12 +303,13 @@ Blocks
|
||||
Get the block with the ID ``block_id``.
|
||||
|
||||
.. note::
|
||||
As ``status``'s default value is set to ``VALID``, only ``VALID`` blocks
|
||||
As ``status``'s default value is set to ``VALID``, hence only ``VALID`` blocks
|
||||
will be returned by this endpoint. In case ``status=VALID``, but a block
|
||||
that was labeled ``UNDECIDED`` or ``INVALID`` is requested by
|
||||
``block_id``, this endpoint will return a ``404 Not Found`` status code
|
||||
to warn the user. To check a block's status independently, use the
|
||||
`Statuses endpoint <#get--statuses-tx_id|block_id>`_.
|
||||
`Statuses endpoint <#get--statuses-tx_id|block_id>`_. The ``INVALID`` status
|
||||
can be handy to figure out why the block was rejected.
|
||||
|
||||
:param block_id: block ID
|
||||
:type block_id: hex string
|
||||
|
Loading…
x
Reference in New Issue
Block a user