run

Function run 

Source
pub fn run(
    connect: &[SocketAddr],
    listen: &[SocketAddr],
    root: Option<PathBuf>,
    domains: &[Domain],
    network: Network,
) -> Result<(), Error>
Expand description

Run the light-client. Takes an initial list of peers to connect to, a list of listen addresses, the client root and the Bitcoin network to connect to.