Jelajahi Sumber

doc: small fixes

x 3 tahun lalu
induk
melakukan
23209b596e

+ 1 - 1
doc/src/learn/dchat/deployment/sessions.md

@@ -6,7 +6,7 @@ network. An inbound node receives connections. An outbound node makes
 connections.
 
 The behavior of these nodes is defined in what is called a
-[Session](https://github.com/darkrenaissance/darkfi/blob/master/src/net/session/mod.rs#L93).
+[Session](https://github.com/darkrenaissance/darkfi/blob/master/src/net/session/mod.rs#L111).
 There are four types of sessions: `Manual`, `Inbound`, `Outbound` and `SeedSync`.
 
 There behavior is as follows: 

+ 4 - 8
doc/src/misc/ircd/specification.md

@@ -1,11 +1,6 @@
 
 # Ircd Specification
 
-Ircd use [Hashchain](https://darkrenaissance.github.io/darkfi/misc/hashchain/hashchain.html)
-to maintain the synchronization between nodes. The messages are handled as
-events in Ircd network.
-
-
 ## PrivMsgEvent
 
 This is the main message type inside Ircd. The `PrivMsgEvent` is an
@@ -109,18 +104,19 @@ The channel `Subscription<ClientSubMsg>` used by the server to notify
 
 ### ClientSubMsg
 
+```rust
 	enum ClientSubMsg {
 		Privmsg(`PrivMsgEvent`),
 		Config(`IrcConfig`),	
 	}
+```
 
 ### NotifierMsg 
 
+```rust
 	enum NotifierMsg {
 		Privmsg(`PrivMsgEvent`),
 		UpdateConfig,
 	}
-
-
-
+```