2.2.4. Preparing the configuration files¶
注解
To keep things simple, in this guide we will create a network containing only a single node.
To understand how to run several peers, follow 部署 Iroha
Now we need to configure our Iroha network.
This includes creating a configuration file, generating keypairs for a users,
writing a list of peers and creating a genesis block.
Don’t be scared away — we have prepared an example configuration for this guide,
so you can start testing Iroha node now.
In order to get those files, you need to clone the Iroha repository
from Github or copy them manually (cloning is faster, though).
git clone -b master https://github.com/hyperledger/iroha --depth=1
提示
--depth=1 option allows us to download only the latest commit and
save some time and bandwidth. If you want to get a full commit history, you
can omit this option.
There is a guide on how to set up the parameters and tune them with respect to your
environment and load expectations: 配置.
We don’t need to do this at the moment.