The node-add-reserved-peer
command in Mintlayer is used to designate a specific peer as a reserved peer in your node. This command is crucial for creating a stable and trusted network environment by ensuring that your node maintains a persistent connection with certain key peers.
Creating Stable Connections: Reserved peers are given priority in the node's network connections, ensuring that your node always attempts to stay connected to these peers.
Network Trust and Reliability: Adding a peer as reserved is often done for peers that are trusted or considered critical for the node's network health.
node-add-reserved-peer <ADDRESS>
<ADDRESS>
: The IP address (and optionally the port) of the peer you wish to add as a reserved peer.-h, --help
: Displays help information about the node-add-reserved-peer
command.Adding a Reserved Peer:
To add a peer with the IP address 192.168.150.140
as a reserved peer, the command would be:
node-add-reserved-peer 192.168.150.140
Upon successful execution, you should receive a confirmation:
Success
This message indicates that the specified peer has been successfully added as a reserved peer, and your node will prioritize maintaining a connection with it.