informalsystems / hermes

IBC Relayer in Rust
https://hermes.informal.systems
Apache License 2.0
449 stars 329 forks source link

What is peer and seed in hermes relayer? #2669

Closed Venusdev2369 closed 2 years ago

Venusdev2369 commented 2 years ago

Question

Hello, I've been setting up the hermes relayer between my chain and cosmos hub. But I don't know the exact meaning of peer and seed. Please give me some explanations about peer and seed.

romac commented 2 years ago

We do not use this terminology in Hermes but rather talk about:

May I ask where you have seen mention of peer and seed in relation with Hermes?

In any case, for any pair of chains specified in the configuration, Hermes will relay packets in both directions between the chains.

Hope that helps!

Venusdev2369 commented 2 years ago

Thank you for your reply. If I am going to run my node, I must give the seeds information to app.toml file. Here I mean seed node and peer node

adizere commented 2 years ago

For starting & operating a full node, you will need to look at network specific documentation. For example, if you want to operate an Osmosis node, start here: https://docs.osmosis.zone. For Evmos, check this out: https://docs.evmos.org/validators/mainnet.html. Each network has their specific details, which include seed node details.

There is also the chain registry, which include publicly-accessible seed nodes for all networks, examples for akash

Venusdev2369 commented 2 years ago

Thank you for your reply. It helps me a lot but I have some questions. If I set up the relayer between my chain and cosmos hub, do I have to set up the relayer on the machine running my node? and why do I have set the daemon settings?

adizere commented 2 years ago

do I have to set up the relayer on the machine running my node?

Not necessarily, the relayer and your network can be on separate machines.

and why do I have set the daemon settings?

I don't understand, would you mind rephrasing? See also https://docs.osmosis.zone/osmosis-core/relaying/relayer-guide/