From af755d3814fab6832bdf337edb3bcb522f10fa4a Mon Sep 17 00:00:00 2001 From: CryptoBureau Date: Fri, 6 Dec 2024 15:36:29 +0100 Subject: [PATCH] Add the working details of the Reconnect-Peers function under point number 18 Add the working details of the Reconnect-Peers function under point number 18. --- README.md | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a624dcd..8d43e78 100644 --- a/README.md +++ b/README.md @@ -149,16 +149,40 @@ The script provides an interactive menu with the following options: 17. **Stop-Service** Stops the running Ghost node service. -18. **Restart-Service** +18. **Reconnect-Peers** + + The Reconnect-Peers function is designed to restart and reconfigure the Ghost node by performing the following steps: + + - Stops the Ghost node service. + - Cleans up old data and ensures the necessary folder structure exists. + - Updates the Ghost node software by switching to the main branch and pulling the latest changes. + - Starting the setup process + - Make Global Rebuild GHOST Node type y: User must type **y** + - Rebuilds and reinitializes the node with updated configurations. + - Setting unit file arguments + - Prompts the user during execution: + - **Disable bootnode mode [y/N]**: User must type **y** to disable the bootnode mode. + - **Boot node address**: User will be prompted to paste the following address: + + ```bash + /dns/bootnode69.chain.ghostchain.io/tcp/30334/p2p/12D3KooWF9SWxz9dmy6vfndQhoxqCa7PESaoFWEiF8Jkqh4xKDRf + ``` + + - Restarts the node service and checks for key integrations. + - Ensures the node is running correctly by validating the setup and enabling the service. + + This function is essential for maintaining the node's connectivity and ensuring it's updated and operational. + +19. **Restart-Service** Restarts the Ghost node service for applying changes. -19. **Status-Checker** +20. **Status-Checker** Checks the status of the Ghost node service. -20. **Logs-Checker** +21. **Logs-Checker** Displays the latest logs to monitor the Ghost node's performance or troubleshoot issues. -21. **Exit** +22. **Exit** Exits the script and ends the session.