Expand description
Configuration for mainnet and testnet
§Examples
Iterate through seed nodes:
use bch::network::Network;
for (ip, port) in Network::Mainnet.seed_iter() {
println!("Seed node {:?}:{}", ip, port);
}
Structs§
- Seed
Iter - Iterates through DNS seeds semi-randomly
Enums§
- Network
- Network type