Skip to content

Commit 427965c

Browse files
author
Lee Miller
committed
Correct articles in the verack section of the Spec, emphasize must uniformly
1 parent 7c62936 commit 427965c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/protocol.rst

+8-7
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Variable length integer
9292

9393
Integer can be encoded depending on the represented value to save space.
9494
Variable length integers always precede an array/vector of a type of data that
95-
may vary in length. Varints MUST use the minimum possible number of bytes to
95+
may vary in length. Varints **must** use the minimum possible number of bytes to
9696
encode a value. For example, the value 6 can be encoded with one byte therefore
9797
a varint that uses three bytes to encode the value 6 is malformed and the
9898
decoding task must be aborted.
@@ -480,12 +480,13 @@ only a :ref:`message header <Message structure>` with the command string
480480
"verack". The TCP timeout starts out at 20 seconds; after verack messages are
481481
exchanged, the timeout is raised to 10 minutes.
482482

483-
If both sides announce that they support SSL, they MUST perform a SSL handshake
484-
immediately after they both send and receive verack. During this SSL handshake,
485-
the TCP client acts as a SSL client, and the TCP server acts as a SSL server.
486-
The current implementation (v0.5.4 or later) requires the AECDH-AES256-SHA
487-
cipher over TLSv1 protocol, and prefers the secp256k1 curve (but other curves
488-
may be accepted, depending on the version of python and OpenSSL used).
483+
If both sides announce that they support SSL, they **must** perform an SSL
484+
handshake immediately after they both send and receive verack. During this SSL
485+
handshake, the TCP client acts as an SSL client, and the TCP server acts as an
486+
SSL server. The current implementation (v0.5.4 or later) requires the
487+
AECDH-AES256-SHA cipher over TLSv1 protocol, and prefers the secp256k1 curve
488+
(but other curves may be accepted, depending on the version of python and
489+
OpenSSL used).
489490

490491
addr
491492
^^^^

0 commit comments

Comments
 (0)