Enum bitcoind::P2P [−][src]
pub enum P2P { No, Yes, Connect(SocketAddrV4), }
Expand description
Enum to specify p2p settings
Variants
the node doesn’t open a p2p port and work in standalone mode
the node open a p2p port
Connect(SocketAddrV4)
The node open a p2p port and also connects to the url given as parameter, it’s handy to initialize this with BitcoinD::p2p_connect of another node.
Auto Trait Implementations
impl RefUnwindSafe for P2P
impl UnwindSafe for P2P