Keep an eye on your validator
Both online services and dashboards allow setting up alerts for when the validator is offline.
Make sure your validator is attached
On startup, you should see a log message that reads
Local validator attached. This has a
pubkey field which should the public key of your validator.
Keep track of your syncing progress
To keep track of your sync progress, pay attention to the
Slot start messages in your logs:
slotis the current time on the beacon chain, measured in "slots"
epochshows the current epoch - each epoch has 32 slots, and each validator performs one attestation per epoch
peerstells you how many peers you're currently connected to - depending on the number of attached validators, you may need anywhere from 10 to 60 peers connected
synctells you if your client is synced and can perform duties, or how long it will take to get there
/optmeans that the node is optimistically synced - it is waiting for the execution client to finish syncing
- in the case of trusted node sync it may also show
backfillin which case duties are being performed but more bandwidth than usual is being used to download historical blocks
headtells you the most recent block you've synced to so far (
5d59aba3is the first part of the block hash,
4021234is the slot number)
finalizedtells you the most recent finalized epoch you've synced to so far (
125661is the epoch,
82616f78is the checkpoint hash)
The string of letters -- what we call the
sync worker map (in the above case represented by
DDQQDDDPDD) represents the peers you are syncing from, where:
You can also use you calls outlined in the REST API page to retrieve similar information.