@@ -16,15 +16,16 @@ error-prone, particularly for exotic systems (Windows).
16
16
## Prerequisites
17
17
18
18
First of all, we should note that we have only built the Iroha client so
19
- far in this tutorial. We also need to build the peer software to run Iroha on
20
- bare metal.
19
+ far in this tutorial. We also need to build the peer software to run Iroha
20
+ on bare metal.
21
21
22
22
::: info
23
23
24
- Building in ` debug ` mode retains much more information and optimises the binary to a far lesser extent.
25
- As such, we advise you to build Iroha in ` debug ` mode for testing: it’s faster and it makes it easier for you to find issues and fix them. However, if
26
- you intend to actually deploy Iroha, you should build it in ` --release `
27
- mode.
24
+ Building in ` debug ` mode retains much more information and optimises the
25
+ binary to a far lesser extent. As such, we advise you to build Iroha in
26
+ ` debug ` mode for testing: it’s faster and it makes it easier for you to
27
+ find issues and fix them. However, if you intend to actually deploy Iroha,
28
+ you should build it in ` --release ` mode.
28
29
29
30
:::
30
31
40
41
cargo build -- bin iroha -- release
41
42
```
42
43
43
- The ` release ` mode binary takes significantly longer to compile than ` debug ` mode, but
44
- the result is a smaller and faster binary, suitable for deployment
45
- in the actual blockchains.
44
+ The ` release ` mode binary takes significantly longer to compile than
45
+ ` debug ` mode, but the result is a smaller and faster binary, suitable for
46
+ deployment in the actual blockchains.
46
47
47
48
## Setup
48
49
@@ -58,8 +59,8 @@ run all commands from that directory:
58
59
cd ~ /Git/iroha/configs/peer
59
60
```
60
61
61
- The third option is to specify the full path to the configuration file in an
62
- environment variable. For simplicity, we shall do the latter:
62
+ The third option is to specify the full path to the configuration file in
63
+ an environment variable. For simplicity, we shall do the latter:
63
64
64
65
``` bash
65
66
cd ~
0 commit comments