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
No related merge requests found
...@@ -678,9 +678,10 @@ CompactPoolExtCert type description : ...@@ -678,9 +678,10 @@ CompactPoolExtCert type description :
### HEADs v3 ### HEADs v3
| data name | size in bytes | data type | | data name | size in bytes | data type |
|:------------------:|---------------|------------| |:------------------:|-------------------|------------|
| step | 1 | u8 |
| software_size | 1 | u8 | | software_size | 1 | u8 |
| soft_version_size | 1 | u8 |
| step | 1 | u8 |
| api_outgoing_conf | 1 | u8 | | api_outgoing_conf | 1 | u8 |
| api_incoming_conf | 1 | u8 | | api_incoming_conf | 1 | u8 |
| free_mirror_rooms | 1 | u8 | | free_mirror_rooms | 1 | u8 |
...@@ -689,10 +690,10 @@ CompactPoolExtCert type description : ...@@ -689,10 +690,10 @@ CompactPoolExtCert type description :
| pubkey | 32 | [u8;32] | | pubkey | 32 | [u8;32] |
| blockstamp | 36 | Blockstamp | | blockstamp | 36 | Blockstamp |
| software_name | software_size | utf8 | | software_name | software_size | utf8 |
| soft_version | calculate* | utf8 | | soft_version | soft_version_size | utf8 |
| signature | 64 | [u8;64] | | 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. 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