fxcored testnetcommand line interface (CLI) on your system. With these installed on a server, you can participate on the mainnet or testnet as a Validator.
"catching_up value": false. This may take a few hours and your node has to be fully synced up before proceeding to the next step. You may cross reference the latest block you are synced to "sync_info": "latest_block_height" and the latest block height of our Testnet blockchain on our Testnet blockchain explorer or our Mainnet.
fxcoredrunning at all times. There are several ways to achieve this, and the simplest solution we recommend is to register
systemdservice so that it will automatically get started upon system reboots and other events.
fxcoredas a service
/etc/systemd/system/fxcored.service(if you are in the fx-core directory):
pastethe contents of the file below into the command line:
Servicesection from the given sample above to suit your settings. Note that even if we raised the number of open files for a process, we still need to include
systemctl enable fxcored
systemctlto control (start, stop, restart)
sudo systemctl start fxcored, and thereafter run
journalctl -t fxcored -fto see the latest and continuous logs.
Concluding tips: It is always better to sync f(x)Core using the Daemon method because this ensures stability and that your syncing is continuously running in the background.
priv_validator_key.jsonif you already have this set up for a validator. The file can be found in this file path
priv_validator_key.jsonwill be replaced with a new file. This means you will have a new consensus private key and it will be tagged to your