Verify a PFN
Last updated
Last updated
After deploying your PFN, you can verify that it is operating correctly by checking several of the PFN's metrics. This document describes the common types of checks that you might wish to perform.
During the initial synchronization of your PFN, there may be a lot of data to transfer (read more about how state sync works in the state sync guide). You can monitor state sync progress by querying the metrics port to see what version your node is currently synced to. Run the following example command to see the currently synced version of your node:
The command will output the current synced version of your node. For example:
Compare the synced version returned by this command (e.g., 71000
) with the highest version shown on the . If your node is catching up to the highest version, it is synchronizing correctly. It is fine if the explorer page differs by a few versions, as the explorer nodes may sync with some variance.
If you wish, you can also check the outbound network connections for your PFN. The number of outbound network connections should be more than 0
for healthy PFNs. Run the following command:
The above command will output the number of outbound network connections for your node. For example:
If the number of outbound connections returned is 0
, then it means your node cannot connect to the Endless blockchain. If this happens to you, follow these steps to resolve the issue:
Update your node to the latest release by following the Update your Node.
Remove any seed
peers you may have added to your configuration file. The seeds may be preventing you from connecting to the network. Seed peers are discussed in the Connecting your PFN to seed peers section.
Ensure that you have used the correct genesis.blob
and waypoint.txt
files for your network. This is a common error.
If you are running your PFN using Docker, you can monitor the size of the blockchain ledger by entering the Docker container and checking the size. This will allow you to see how much storage the blockchain ledger is currently consuming.
First, run docker container ls
on your terminal and copy the NAME field output. This will be a string similar to public_full_node_fullnode_1
.
Next, run these commands to check the storage size consumed by the ledger, using the NAME field you copied over in place of public_full_node_fullnode_1
: