Przeglądaj źródła

book: fix typos

Dastan-glitch 4 lat temu
rodzic
commit
57fa295be3

+ 3 - 3
doc/src/architecture/blockchain.md

@@ -7,7 +7,7 @@ system based on voting between the participating parties. The blockchain
 is currently in the devnet phase and has no concept of a consensus token.
 
 Darkfi is actively working to upgrade its consensus to Ouroboros
-Crypsinous, a privacy focused proof-of-stake algorithm. To accomodate
+Crypsinous, a privacy focused proof-of-stake algorithm. To accommodate
 this transition it has designed its data structures to be easy to upgrade.
 
 Below is a specification of how DarkFi's current blockchain achieves
@@ -119,7 +119,7 @@ v_n$$ let's assume the stakes are divided to stakes of value
 $\sigma_i=1$ for $\Sigma>1 \in \mathbb{Z}$, $\sum_{i}{\sigma_i}=V$
 $$V>(\frac{1}{v_{max}+c})^{n-1}$$ note that $(\frac{1}{v_{max}+c})^{n-1}
 < 1, V>1$, thus competing with single coin of the sum of stakes held by
-the stakeholder is favourable.
+the stakeholder is favorable.
 
 #### Scalar linear aggregation dependent leader selection
 
@@ -191,7 +191,7 @@ For an epoch j, the nonce $\eta_j$ is calculated by hash function H, as:
 
 $$\eta_j = H(\eta_{j-1}||j||v)$$
 
-v is the concatentation of the value $\rho$ in all blocks from the
+v is the concatenation of the value $\rho$ in all blocks from the
 beginning of epoch $e_{i-1}$ to the slot with timestamp up to $(j-2)R +
 \frac{16k}{1+\epsilon}$, note that k is a persistence security parameter,
 R is the epoch length in terms of slots.

+ 2 - 2
doc/src/learn/zk_explainer.md

@@ -34,7 +34,7 @@ We now can convert this expression to a constraint system.
 ZK statements take the form of:
 $$(c_{l,1} \cdot v_{l,1} + c_{a,2} \cdot v_{l,2} + \dots) \times (c_{b,1} \cdot v_{r,1} + c_{b,2} \cdot v_{r,2} + \dots) = (c_{o,1} \cdot v_{o,1} + c_{o,2} v_{o,2} + \dots)$$
 
-More succintly as:
+More succinctly as:
 $$\sum_{i = 1}^n c_{l,i} \cdot v_{l,i} \times \sum_{i = 1}^n c_{r,i} v_{r, i} = \sum_{i = 1}^n c_{o, i} v_{o, i}$$
 
 These statements are converted into polynomials of the form:
@@ -105,7 +105,7 @@ When we wish to add a constant value, we use the variable called
 bellman at index 0). Therefore we end up adding our constant $c$ to
 the `LinearCombination` as `(c, ~one)`.
 
-Any other non-constant value, we wish to add to our constaint system
+Any other non-constant value, we wish to add to our constraint system
 *must* be allocated as a variable. Then the variable is added to the
 `LinearCombination`. So in our example, we will allocate
 $w, a, b, m, v$, getting back `Variable` objects which we then add to

+ 1 - 1
doc/src/misc/dnetview.md

@@ -9,7 +9,7 @@ dnetview displays:
 3. each associated connection and recent messages.
 
 dnetview is based on the design-pattern Model, View, Controller. We
-create a logical seperation between the underlying data structure or
+create a logical separation between the underlying data structure or
 Model; the ui rendering aspect which is the View; and the Controller or
 game engine that makes everything run.
 

+ 4 - 6
doc/src/misc/ircd.md

@@ -1,6 +1,6 @@
 # P2P IRC
 
-In DarkFi, we organise our communication using resilient and
+In DarkFi, we organize our communication using resilient and
 censorship-resistant infrastructure. For chatting, `ircd` is a
 peer-to-peer implementation of an IRC server in which any user can
 participate anonymously using any IRC frontend and by running the
@@ -157,14 +157,13 @@ seeds=["127.0.0.1:11001"]
 
 This is a node which has 8 outbound connection slots and no inbound
 connections.  This means the node has 8 slots which will actively
-search for unique nodes to c
-onnect to in the p2p network.
+search for unique nodes to connect to in the p2p network.
 
 In your config file:
 
 ```toml
 ## Connection slots
-outbound_connections=5
+outbound_connections=8
 
 ## Seed nodes to connect to 
 seeds=["127.0.0.1:11001"]
@@ -197,5 +196,4 @@ And send messages to yourself.
 
 See the script `script/run_node.sh` for an example of how to deploy
 a full node which does seed session synchronization, and accepts both
-inbound and outbound c
-onnections.
+inbound and outbound connections.

+ 1 - 1
doc/src/tutorial.md

@@ -115,7 +115,7 @@ command-line. For sollet.io, switch the network to testnet and click
 
 Now that we have testnet coins we can deposit into darkfi.
 
-We'll do this by sending testnet coins to the darki cashier, which will
+We'll do this by sending testnet coins to the darkfi cashier, which will
 issue darkened versions of the deposited coin. This process of darkening
 involves the cashier minting new anonymous tokens that are 1:1 redeemable
 for deposits. For example, if you deposit 1 BTC, you will receive 1 dBTC,