Configuring your network
The network consists of a collection of nodes, devices that participate in a decentralized network and help to maintain the blockchain. These nodes interact with each other in a number of ways. Nodes operate within a neighbourhood, or ring topology, where information is communicated freely and regularly between the nodes. Nodes connect with other nodes in their vicinity that share similar interests and fragments. Nodes that are outside of the immediate vicinity can be reached using a cyclon typology, which adds a randomness to the protocol, but ensures faster sharing of information.
To help you get started, we are providing a test network that consists of several nodes and stake pools. It also connects to trusted peers, those nodes in the network that your node will initially trust when building out the network. To connect to the IOHK test network and add the trusted peers, run this command:
jormungandr \ --trusted-peer "/ip4/18.104.22.168/tcp/3000" \ --trusted-peer "/ip4/22.214.171.124/tcp/3000" \ --trusted-peer "/ip4/126.96.36.199/tcp/3000" \ --trusted-peer "/ip4/188.8.131.52/tcp/3000" \ --trusted-peer "/ip4/184.108.40.206/tcp/3000" \ --trusted-peer "/ip4/220.127.116.11/tcp/3000" \ --trusted-peer "/ip4/18.104.22.168/tcp/3000" \ --genesis-block-hash adbdd5ede31637f6c9bad5c271eec0bc3d0cb9efb86a5b913bb55cba549d0770
If you are using Windows
cmd you can use
^ for multiline entry.
At start up you need to provide the command line parameter to connect to the genesis-block-hash. This is a unique identifier which identifies the blockchain and provides security and a guarantee that you are connected to the right blockchain.
Once that is done you are connected and already fetching the first blocks of the blockchain.