Skip to main content

contains_default_initial_peers

Function contains_default_initial_peers 

Source
fn contains_default_initial_peers(initial_peers: &IndexSet<String>) -> bool
Expand description

Accepts an [IndexSet] of initial peers,

Returns true if any of them are the default Testnet or Mainnet initial peers.