Skip to content
Snippets Groups Projects
Commit e559737b authored by Éloïs's avatar Éloïs
Browse files

fix intentional error

parent 1876fbbd
No related branches found
No related tags found
1 merge request!8WIP: WS2P v2
......@@ -678,9 +678,10 @@ CompactPoolExtCert type description :
### HEADs v3
| data name | size in bytes | data type |
|:------------------:|---------------|------------|
| step | 1 | u8 |
|:------------------:|-------------------|------------|
| software_size | 1 | u8 |
| soft_version_size | 1 | u8 |
| step | 1 | u8 |
| api_outgoing_conf | 1 | u8 |
| api_incoming_conf | 1 | u8 |
| free_mirror_rooms | 1 | u8 |
......@@ -689,10 +690,10 @@ CompactPoolExtCert type description :
| pubkey | 32 | [u8;32] |
| blockstamp | 36 | Blockstamp |
| software_name | software_size | utf8 |
| soft_version | calculate* | utf8 |
| soft_version | soft_version_size | utf8 |
| signature | 64 | [u8;64] |
_*soft_version_size = head_size - 142 - software_size._
_head_size = 142 + soft_version_size + software_size._
software_size := Field size `software_name` in number of bytes.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment