pub struct AddnodeParams {
pub node: String,
pub command: String,
pub v2transport: bool,
}Expand description
Attempts to add or remove a node from the addnode list. Or try a connection to a node once. Nodes added using addnode (or -connect) are protected from DoS disconnection and are not required to be full nodes/support SegWit as other outbound peers are (though such peers will not be synced from). Addnode connections are limited to 8 at a time and are counted separately from the -maxconnections limit.
Fields§
§node: String§command: String§v2transport: boolTrait Implementations§
Source§impl Debug for AddnodeParams
impl Debug for AddnodeParams
Auto Trait Implementations§
impl Freeze for AddnodeParams
impl RefUnwindSafe for AddnodeParams
impl Send for AddnodeParams
impl Sync for AddnodeParams
impl Unpin for AddnodeParams
impl UnsafeUnpin for AddnodeParams
impl UnwindSafe for AddnodeParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more