-
Notifications
You must be signed in to change notification settings - Fork 19
Help
If your Smartnode fails to provide any service to the network, it will receive a PoSe(Proof of Service) Ban. Here is a list of things to check if in the PoSe ban status.
- Check and make sure your Smartnode is on the latest version of Raptoreum. Compare command output to latest release on official github repository.
Command:
raptoreum-cli getnetworkinfo | jq .subversion
Output:
"/Raptoreum Core:1.2.15.2/"
- Make sure the Smartnode is fully synced. Compare block height and blockhash to the explorer.
Command:
raptoreum-cli getblockchaininfo
Output:
{
"chain": "main",
"blocks": 16980,
"headers": 16980,
"bestblockhash": "1c7de699100156aaedd217fcd99c527443a67a43ef3775c36201390a03bfaeb0",
"difficulty": 0.06731549483847774,
"mediantime": 1616412490,
"verificationprogress": 0.9998738604994155,
"chainwork": "000000000000000000000000000000000000000000000000000002eb19809444",
"pruned": false,
"softforks": [
],
"bip9_softforks": {
}
}
- If raptoreum-cli commands hang and do not return an output
ctrl+c
to interrupt hanging process and enter command below to send a kill signal to any raptoreumd process running. After killing process check status of service and active status should sayactive (running)
. Check if calls now return outputs.
Command:
sudo killall -s SIGKILL raptoreumd
Command to check status of service:
sudo systemctl status raptoreum
Check cli works:
raptoreum-cli getblockchaininfo
If it still hangs reboot system.
sudo reboot
- Check that Smartnode BLS private key used for the ProRegTx belongs to the BLS public key.
First get the proTxHash. Do these commands on control wallet's debug console. Note that if you have multiple smartnodes you will have to manually check each one.
protx list wallet
Get BLS public key(pubKeyOperator) using the proTxHash from last command.
protx info proTxHash
Get BLS private key. This command needs to be executed on the VPS.
cat ~/.raptoreumcore/raptoreum.conf | grep -Po "(?<=smartnodeblsprivkey=).*"
Using the BLS private key enter this command to get the keypair and compare the keys.
raptoreum-cli bls fromsecret BLS_Private_Key
- Check IP address you registered the Smartnode with matches externalip parameter in the config file. Use the same command you used to get your BLS public key to compare IP address to following command on the VPS.
Command:
cat ~/.raptoreumcore/raptoreum.conf | grep -Po "(?<=externalip=).*"
After issues are resolved you could get the Smartnode back on the network with the ProUpServTx. ProUpServTx is only required if Smartnode was banned.
Provider Update Service Transaction(ProUpServTx) is used to update IP address and to move it off the PoSe ban list and back on the network.
This must be done from your control wallet.
Command:
protx update_service proTxHash ipAndPort operatorKey(BLS private key)
ℹ If you don't like babysitting and have a problem node I have created a script that will set a cron job(every 3 hrs) to execute a script that will check your PoSe penalty score and kill daemon process if score is greater then 0. As always use at own risk.
You will need the proTxHash which you could get that info from your wallet or simply using the smartnode status call if node is running on the server with no issues. Once you have the correct proTxHash enter script below.
bash <(curl -s https://gist.githubusercontent.com/dk808/743ab274b54471a0d01303e0d8a7630b/raw/check.sh)