Przeglądaj źródła

docs/src/misc/hashchain/network_protocol: Fix data type highlighting in Inv and Seen

Andrew 3 lat temu
rodzic
commit
68e953ea6c
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      doc/src/misc/hashchain/network_protocol.md

+ 4 - 4
doc/src/misc/hashchain/network_protocol.md

@@ -19,7 +19,7 @@ Inventory vectors notify other nodes about objects they have or data which is be
 
 | Description   | Data Type            | Comments                   |
 |-------------- | -------------------- | -------------------------- |
-| invs          | `Vec<[u8; 32]>`      | Inventory items            |
+| invs          | Vec`<[u8; 32]>`      | Inventory items            |
 
 ### Receiving an `Inv` message
 
@@ -97,9 +97,9 @@ leaves in the `Model`'s tree; otherwise, the protocol sends `Event`s which are t
 This prevents receiving duplicate objects.
 The list contains only 2^16 ids.
 
-| Description | Data Type      | Comments                      |
-|-------------|--------------- |------------------------------ |
-| Ids         | Vec            | Contains objects ids          |
+| Description | Data Type       | Comments                      |
+| ----------- | --------------- |------------------------------ |
+| Ids         | Vec<`ObjectId`> | Contains objects ids          |
 
 ## Receiving a new `Event`