Parcourir la source

doc/ p2p-network.md: minor fixes

lunar-mining il y a 2 ans
Parent
commit
e6c23df599
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      doc/src/arch/p2p-network.md

+ 4 - 4
doc/src/arch/p2p-network.md

@@ -174,11 +174,11 @@ least two anchor nodes.
 
 
 ### Scope of the update
 ### Scope of the update
 
 
-* Refactor `src/hosts.rs` to store two Vec<(Url, u64)> instead of single
-Hashset<Url>, replacing the host list and its associated methods with
+* Refactor `src/hosts.rs` to store two `Vec<(Url, u64)>` instead of single
+`Hashset<Url>`, replacing the host list and its associated methods with
 a whitelist and a greylist. [STATUS: COMPLETE- testing]
 a whitelist and a greylist. [STATUS: COMPLETE- testing]
 
 
-* Create a GreylistRefinery protocol in OutboundSession (renamed from
+* Create a `GreylistRefinery` protocol in `OutboundSession` (renamed from
 Monero's "greylist housekeeping" for succinctness) that periodically
 Monero's "greylist housekeeping" for succinctness) that periodically
 selects random peers from its greylist and pings them. If a peer is
 selects random peers from its greylist and pings them. If a peer is
 responsive, update the `last_seen` field and add it to the whitelist,
 responsive, update the `last_seen` field and add it to the whitelist,
@@ -202,7 +202,7 @@ greylist. [STATUS: INCOMPLETE/ FIXME]
 receiving get_addr, fetch an address from the whitelist. [STATUS COMPLETE
 receiving get_addr, fetch an address from the whitelist. [STATUS COMPLETE
 - testing].
 - testing].
 
 
-* ProtocolSeed: Sends our address to the seed node, and on receiving
+* ProtocolSeed: Send our address to the seed node, and on receiving
 addresses, append them to the whitelist. [STATUS: INCOMPLETE/ FIXME]
 addresses, append them to the whitelist. [STATUS: INCOMPLETE/ FIXME]
 
 
 * Create a new list in `hosts.rs` called `anchorlist`. OutboundSession
 * Create a new list in `hosts.rs` called `anchorlist`. OutboundSession