From e5ea1c10e26f4d819599a5e842c70b438320a986 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Mon, 16 Jul 2018 19:29:04 +0800 Subject: [PATCH] Update docs for raw headers. --- docs/protocol-methods.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/protocol-methods.rst b/docs/protocol-methods.rst index 24f990c..a0b5c5e 100644 --- a/docs/protocol-methods.rst +++ b/docs/protocol-methods.rst @@ -181,16 +181,20 @@ Subscribe to receive block headers when a new block is found. **Signature** - .. function:: blockchain.headers.subscribe(raw=True) + .. function:: blockchain.headers.subscribe() .. versionchanged:: 1.2 Optional *raw* parameter added, defaulting to :const:`False`. .. versionchanged:: 1.3 *raw* parameter deafults to :const:`True`. + .. versionchanged:: 1.4 + *raw* parameter removed; responses and notifications pass raw + headers. * *raw* - :const:`False` or :const:`True`. The value :const:`False` is - deprecated. + This single boolean argument exists in protocol versions 1.2 + (defaulting to :const:`False`) and 1.3 (defaulting to + :const:`True`) only. **Result**