From c0a6ddff7d29ccd1b9c6b5e214c09ede80a01098 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sun, 20 Dec 2020 18:43:28 +0100 Subject: [PATCH] docs: describe protocol version 1.5 --- docs/protocol-basics.rst | 68 +++++++++-- docs/protocol-changes.rst | 35 +++++- docs/protocol-methods.rst | 248 ++++++++++++++++++++++++++++++++------ 3 files changed, 302 insertions(+), 49 deletions(-) diff --git a/docs/protocol-basics.rst b/docs/protocol-basics.rst index 9dbbd5458..008e51a60 100644 --- a/docs/protocol-basics.rst +++ b/docs/protocol-basics.rst @@ -68,14 +68,12 @@ revision number. A party to a connection will speak all protocol versions in a range, say from `protocol_min` to `protocol_max`, which may be the same. -When a connection is made, both client and server must initially -assume the protocol to use is their own `protocol_min`. -The client should send a :func:`server.version` RPC call as early as -possible in order to negotiate the precise protocol version; see its -description for more detail. All responses received in the stream -from and including the server's response to this call will use its -negotiated protocol version. +The client must send a :func:`server.version` RPC call as the first +message on the wire, in order to negotiate the precise protocol +version; see its description for more detail. +All responses received in the stream from and including the server's +response to this call will use its negotiated protocol version. .. _script hashes: @@ -138,8 +136,60 @@ block public key. .. _status: -Status ------- +Status (protocol 1.5 and later) +------------------------------- + +To calculate the `status` of a :ref:`script hash