Struct bitcoind::ConnectParams [−][src]
pub struct ConnectParams {
pub datadir: PathBuf,
pub cookie_file: PathBuf,
pub rpc_socket: SocketAddrV4,
pub p2p_socket: Option<SocketAddrV4>,
}
Expand description
Contains all the information to connect to this node
Fields
datadir: PathBuf
Path to the node datadir
Path to the node cookie file, useful for other client to connect to the node
rpc_socket: SocketAddrV4
Url of the rpc of the node, useful for other client to connect to the node
p2p_socket: Option<SocketAddrV4>
p2p connection url, is some if the node started with p2p enabled
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConnectParams
impl Send for ConnectParams
impl Sync for ConnectParams
impl Unpin for ConnectParams
impl UnwindSafe for ConnectParams
Blanket Implementations
Mutably borrows from an owned value. Read more