doc: small fixes

This commit is contained in:
x
2023-01-18 10:36:20 +01:00
parent 4ef5e78c5b
commit 23209b596e
2 changed files with 5 additions and 9 deletions

View File

@@ -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:

View File

@@ -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,
}
```