Browse Source

Update docs for raw headers.

patch-2
Neil Booth 7 years ago
parent
commit
e5ea1c10e2
  1. 10
      docs/protocol-methods.rst

10
docs/protocol-methods.rst

@ -181,16 +181,20 @@ Subscribe to receive block headers when a new block is found.
**Signature** **Signature**
.. function:: blockchain.headers.subscribe(raw=True) .. function:: blockchain.headers.subscribe()
.. versionchanged:: 1.2 .. versionchanged:: 1.2
Optional *raw* parameter added, defaulting to :const:`False`. Optional *raw* parameter added, defaulting to :const:`False`.
.. versionchanged:: 1.3 .. versionchanged:: 1.3
*raw* parameter deafults to :const:`True`. *raw* parameter deafults to :const:`True`.
.. versionchanged:: 1.4
*raw* parameter removed; responses and notifications pass raw
headers.
* *raw* * *raw*
:const:`False` or :const:`True`. The value :const:`False` is This single boolean argument exists in protocol versions 1.2
deprecated. (defaulting to :const:`False`) and 1.3 (defaulting to
:const:`True`) only.
**Result** **Result**

Loading…
Cancel
Save