Clarify that the compactInt must be in canonical form

This commit is contained in:
str4d 2016-09-28 01:08:22 +13:00 committed by Daira Hopwood
parent 20fa2c5544
commit 160feb10b6
1 changed files with 7 additions and 2 deletions

View File

@ -366,8 +366,8 @@ Request:
The second part of the block header nonce (see `Nonce Parts`_).
``EQUIHASH_SOLUTION`` (hex)
The Equihash solution, encoded as in a block header (including the compactInt
at the beginning).
The Equihash solution, encoded as in a block header (including the compactSize
at the beginning in canonical form [Bitcoin-CompactSize]_).
Result:
@ -385,6 +385,11 @@ Result:
describing the reason for not accepting the submission. See `Error Objects`_
for the object format.
.. [Bitcoin-CompactSize] Bitcoin Wiki. "Variable length integer".
In: *Protocol documentation*. Last updated: 2016-09-18.
URL: https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer
(visited on 2016-09-28).
``client.reconnect()``
----------------------