Startup
A typical systemd unit:Health and readiness
Quantum Chain exposes the standard geth health endpoints:| RPC method | Purpose |
|---|---|
eth_blockNumber | Latest block; should advance every ~15s on mainnet |
eth_syncing | Returns sync status; false when fully synced |
net_peerCount | Number of connected peers |
admin_nodeInfo | Node identity, enode URL |
Metrics
Enable Prometheus-compatible metrics with:| Metric | Meaning |
|---|---|
chain/head/block | Latest block number |
chain/head/header | Latest header number; block - header should be 0 |
eth/db/chaindata/disk/size | Database size in bytes |
p2p/peers | Peer count |
txpool/pending | Pending transactions in pool |
txpool/queued | Future transactions |
system/cpu/sysload | OS CPU load |
Logs
Logs are structured. Increase verbosity with:--vmodule consensus=4,p2p=3.
Sync states
| State | Meaning |
|---|---|
| Receiving headers | First phase of snap sync |
| Importing block headers | Header chain catching up |
| Importing snapshot chunks | Downloading the latest state snapshot |
| Block synchronization | Block bodies and receipts |
| Synced | Up to head; tracking new blocks |
Backups
Snap and full sync nodes are stateless — you can wipe and resync. Archive nodes hold irreplaceable historical state; back them up with:Upgrades
Quantum Chain releases ship as tagged commits in this repository.- Read the release notes for hard-fork activation blocks.
- Build the new binary on a staging node.
- Update validators within the upgrade window — sealers running an outdated binary after the fork height will produce blocks rejected by the network.
- Roll RPC nodes after validators.
Pruning
To reclaim disk on a--gcmode full node:
prune-state rewrites the trie and may take several hours.