Node Debugging & Configuration
Pharos Block Validation
You can refer to the Pharos Block Validation document for details on the Pharos consensus mechanism and block validation process.
Block Sync Verification
You can use the RPC API to check whether the node is actively syncing blocks. If the block number is increasing, the node is catching up to the latest chain height.
curl 127.0.0.1:18100/ \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}'Check if the Node has joined as a Validator
Query the local NodeID
cat /data/domain.json | grep "NODE_ID"Send a transaction to join the Validator
Check NodeID in Pharos system contract
Log Inspection
All logs are written to the directory:
To monitor logs in real-time, use:
Port Configuration
Ensure that the following ports are open and accessible for proper node operation:
Last updated
Was this helpful?
