The node-connect-to-peer
command in Mintlayer is used to manually connect your node to a remote peer. This command is particularly useful for establishing a connection with specific nodes in the network, enhancing your node's connectivity and synchronization with the Mintlayer blockchain.
node-connect-to-peer <ADDRESS>
<ADDRESS>
: The address of the remote peer you wish to connect to. This is typically in the format of an IP address and port number.-h, --help
: Displays help information about the node-connect-to-peer
command.Connecting to a Remote Peer:
To connect your node to a remote peer with a specific address, execute the command with the desired peer's address. For example:
node-connect-to-peer 192.168.1.15:3031
Replace 192.168.1.15:3031
with the actual address of the peer you want to connect to.