From 23209b596e665d22479aebe7c0c4a6fce02f6f3b Mon Sep 17 00:00:00 2001 From: x Date: Wed, 18 Jan 2023 10:36:20 +0100 Subject: [PATCH] doc: small fixes --- doc/src/learn/dchat/deployment/sessions.md | 2 +- doc/src/misc/ircd/specification.md | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/src/learn/dchat/deployment/sessions.md b/doc/src/learn/dchat/deployment/sessions.md index 1b33272fa..83e578e19 100644 --- a/doc/src/learn/dchat/deployment/sessions.md +++ b/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: diff --git a/doc/src/misc/ircd/specification.md b/doc/src/misc/ircd/specification.md index 683e6c164..32bd4d2c0 100644 --- a/doc/src/misc/ircd/specification.md +++ b/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` used by the server to notify ### ClientSubMsg +```rust enum ClientSubMsg { Privmsg(`PrivMsgEvent`), Config(`IrcConfig`), } +``` ### NotifierMsg +```rust enum NotifierMsg { Privmsg(`PrivMsgEvent`), UpdateConfig, } - - - +```