P2P - Add islock hexdump

Added description of islock message
This commit is contained in:
thephez 2019-04-10 15:29:27 -04:00
parent 2472b037f0
commit 4ee0732b3a
No known key found for this signature in database
GPG key ID: BBC8A06DBE236099

View file

@ -1983,24 +1983,46 @@ message header has been omitted.)
*Added in protocol version 70214 of Dash Core*
The `islock` message is used to...
The `islock` message is used to provide details of transactions that have been
locked by LLMQ-based InstantSend. The message includes the details of all
transaction inputs along with the transaction ID and the BLS signature of the
LLMQ that approved the transaction lock.
| Bytes | Name | Data type | Description |
| --- | --- | --- | --- |
| 1-9 | inputsSize | compactSize uint | Number of inputs|
| 1-9 | inputsSize | compactSize uint | Number of inputs |
| 36 * `inputsSize`| inputs | COutPoint | Outpoints used in the transaction |
| 32 | txid | uint256 | TXID of the locked transaction |
| 96 | sig | byte[] | LLMQ BLS Signature |
<!--
The following annotated hexdump shows a `islock` message. (The
message header has been omitted.)
{% highlight text %}
02 ......................................... Number of inputs: 2
Input 1
| 05f24f65a9d98ff543ba61f7f0ce9448
| 79632bf2517540a5bd8bde2fe8e94617 ......... Previous outpoint TXID
| 00000000 ................................. Previous outpoint index: 0
Input 2
| 05f24f65a9d98ff543ba61f7f0ce9448
| 79632bf2517540a5bd8bde2fe8e94617
| 79632bf2517540a5bd8bde2fe8e94617 ......... Previous outpoint TXID
| 01000000 ................................. Previous outpoint index: 1
e2e1c797576d8b13c83e929684b9aacd
553c20a34e2d11e38bdcaaf8e1de1680 ........... TXID
0f055c2064885d446f83d51b9bb09892
7ea0375a0f6a3f3402abf158ece67e00
81049b8a8f45d254b64574cef194ef31
197e450fba1196d652f2e1421d3b80ae
f429c10eabd4ab9289e9a8f80f6989b7
a11e5e7930deccc3e11a931fc9524f06 ........... LLMQ BLS Signature (96 bytes)
{% endhighlight %}
-->
{% endautocrossref %}
#### ix