BLOCX.
  • πŸ‘‹Welcome
  • SPECIFICATIONS
    • ℹ️Introduction
    • πŸͺ™Coin Details
    • ⛓️Chain Rewards & Fees
    • πŸ“ŠEmission Schedule
    • πŸ—“οΈTeam Vesting
  • Get Started
    • 🌐Network Details
    • 🧬Network Node Set-Up
    • πŸ‘¨β€πŸ’»Build on BLOCX.
  • VALIDATOR NODE
    • ℹ️Introduction
    • πŸ“‘Installation Process
    • πŸ”Monitoring Your Node
    • βš™οΈNode Maintenance
    • πŸ›‘Exiting the Validator Node
    • πŸ†˜Troubleshooting
    • ❓FAQ
    • πŸ”Unlock Masternode
  • GRIDBOX
    • ⚑Add Machine
    • πŸ–₯️Rent Machine
  • BRIDGE
    • 🦊Mainnet Guide
    • 🦊ERC20 Guide
    • πŸ”„Bridge Guide
  • LEDGER
    • πŸ“–Ledger Guide
  • LINKS AND INFORMATION
    • πŸ”—Links
Powered by GitBook
On this page
  • Stopping the Node
  • Shutting Down the Node
  • Cleaning Up Node Data
  • How to Restart and Resync Your BLOCX Node from Zero
  • Step 0: Stop the Node
  • Step 1: Edit the Docker Compose File
  • Step 2: Restart the Node
  • Step 3: Remove the Purge Command
  1. VALIDATOR NODE

Node Maintenance

Stopping the Node

  1. To temporarily stop your validator node, select option 7 "Stop validator node" from the menu.

  2. This will stop all containers but preserve your data.

  3. You can start the node again using option 6.

Shutting Down the Node

  1. Select option 8 "Shutdown validator node" from the menu to shut down your node.

  2. This effectively does the same as stopping but is used when you want to emphasize a full shutdown.

Cleaning Up Node Data

  1. Select option 9 "Cleanup validator node" from the menu to completely remove all node data.

    ⚠️ WARNING: This will delete all blockchain data and you will need to sync from scratch again! This operation cannot be undone.

  2. Your validator keys will be preserved, but all sync progress and blockchain data will be deleted.

  3. After cleaning, you will need to reinitialize the node before starting it again.

How to Restart and Resync Your BLOCX Node from Zero

Follow these steps to completely restart your node and resync it from scratch:

Step 0: Stop the Node

Before making any changes, make sure your node is stopped.

Step 1: Edit the Docker Compose File

Open this file in a text editor:

Find the line starting with command: and add the following line directly after line 50:

--purge-db-force

This line forces the node to delete all existing blockchain data and restart syncing from zero.

Step 2: Restart the Node

Run the following command to restart your node:

./initExecution.sh

This will start your node and begin resyncing from the very beginning.

Step 3: Remove the Purge Command

⚠️ Important: After the node has started syncing successfully, remove the --purge-db-force line from the compose-validator.yaml file.

If you leave it in, your node will always reset and resync from scratch every time it restarts, which you don’t want.

PreviousMonitoring Your NodeNextExiting the Validator Node

Last updated 10 days ago

πŸ“„

compose-validator.yaml (Line 50)
βš™οΈ
Page cover image