Commit 0e6ac43f authored by Éloïs's avatar Éloïs

typo

parent a9b76e62
......@@ -189,13 +189,13 @@ All binary WS2P v2 messages are encapsulated in the following format :
| currency_code | 2 | u16 |
| ws2p_version | 2 | u16 |
| issuer_node_id | 4 | u32 |
| issuer_pubkey | ? | PubkeyBox |
| issuer_pubkey | ? | PubkeyBox |
| message_type | 2 | specific |
| elements_count | 2 | u16 |
| payload_size | 4 | u32 |
| payload | payload_size | ?* |
| message_hash | 32 | [u8; 32] |
| signature | ? | SigBox |
| signature | ? | SigBox |
_* The type of `payload` is determined by the content of `message_type`._
......@@ -250,7 +250,7 @@ _*the `null` value is essential, it allows the user to synchronize his node with
| af_size | 1 | u8 |
| api_features | af_size | specific |
| ip_v4 | 4 | [u8; 4] |
| ip_v6 | 16 | [u16; 8] |
| ip_v6 | 16 | [u16; 8] |
| host | host_size | utf8 |
| port | 2 | u16 |
| path | path_size | utf8 |
......@@ -353,10 +353,10 @@ Signed document declaring all the endpoints of a peer.
| endpoints_count | 1 | u8 |
| currency_code | 2 | u16 |
| node_id | 4 | u32 |
| issuer_public_key | 32 | PubkeyBox |
| issuer_public_key | ? | PubkeyBox |
| blockstamp | 36 | Blockstamp |
| endpoints_datas | calculate* | [(u16, endpoint); endpoints_count] |
| signature | 64 | SigBox |
| signature | ? | SigBox |
endpoints_datas := table of tuples (endpoint_size, endpoint).
......@@ -507,8 +507,8 @@ challenge_sig := SigBox of the challenge given by the other node.
|:-------------:|---------------|-----------------|
| flags_size | 1 | u8 |
| flags | flags_size | WS2PSecretFlags |
| member_proof | ? | SigBox |
| member_pubkey | ? | PubkeyBox |
| member_proof | ? | SigBox |
| member_pubkey | ? | PubkeyBox |
#### WS2PSecretFlags type definition
......@@ -530,7 +530,7 @@ If this boolean is true, the "member_proof" must contain a signature must sign t
| flags | 2 | b16 |
| prefix | 2 | u16 |
| issuer_node_id | 4 | u32 |
| m_pubkey | 32 | PubkeyBox |
| m_pubkey | 32 | PubkeyBox |
| challenge* | 32 | [u8; 32] |
_*This is the remote challenge for the signatory, and the local challenge for the verifier._
......@@ -669,7 +669,7 @@ CompactPoolIntCert type description :
| issuer* | 4 | u32 |
| target* | 4 | u32 |
| blockstamp | 36 | Blockstamp |
| signature | ? | SigBox |
| signature | ? | SigBox |
_*Durs assigns a unique integer to each member according to the order in which the identities are declared in the blocks, so it's guaranteed that all Durs nodes will always assign the same integer to any given member._
......@@ -693,7 +693,7 @@ IdentityDocument type description :
| uid | uid_size | utf8 |
| blockstamp | 36 | Blockstamp |
| pubkey | 32 | [u8;32] |
| signature | ? | SigBox |
| signature | ? | SigBox |
uid_size := `uid` field size in bytes.
......@@ -702,7 +702,7 @@ CompactPoolMembership type description :
| data name | size in bytes | data type |
|:-------------:|---------------|---------------------|
| blockstamp | 36 | Blockstamp |
| signature | ? | SigBox |
| signature | ? | SigBox |
CompactPoolExtCert type description :
......@@ -710,7 +710,7 @@ CompactPoolExtCert type description :
|:-----------------:|---------------|---------------------|
| issuer | 4 | u32 |
| blockstamp | 36 | Blockstamp |
| signature | ? | SigBox |
| signature | ? | SigBox |
### HEADS v2
......@@ -732,11 +732,11 @@ CompactPoolExtCert type description :
| free_mirror_rooms | 1 | u8 |
| low_priority_rooms | 1 | u8 |
| node_id | 4 | u32 |
| pubkey | ? | PubkeyBox |
| pubkey | ? | PubkeyBox |
| blockstamp | 36 | Blockstamp |
| software_name | software_size | utf8 |
| soft_version | soft_version_size | utf8 |
| signature | ? | SigBox |
| signature | ? | SigBox |
head_size := Total size of object `HEADv3` in bytes.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment