Modules§
Structs§
Constants§
- SAFE_
PEERS_ ENV - The name of the environment variable that can be used to pass peers to the node.
Functions§
- get_
peers_ from_ url - Get and parse a list of peers from a URL. The URL should contain one multiaddr per line.
- parse_
peer_ addr - Parse strings like
1.2.3.4:1234and/ip4/1.2.3.4/tcp/1234into a multiaddr.