I am having trouble getting the sentinel running, it says:
venv/bin/python bin/sentinel.py
[Errno 111] Connection refused
Cannot connect to wolfcoind. Please ensure wolfcoind is running and the JSONRPC port is open to Sentinel.
The up and running daemon's config (in /root/.wolfcoin/wolfcoin.conf looks as follow:
# specify path to energi.conf or leave blank
# default is the same as EnergiCore
#energi_conf=/home/dev/.energicore/energi.conf
# valid options are mainnet, testnet, or testnet60x (default=mainnet)
network=mainnet
#network=testnet
# database connection details
db_name=database/sentinel.db
db_driver=sqlite
server=1
rpcuser=MYUSER
rpcpassword=MYPASSWORD
rpcallowip=127.0.0.1
The daemon is started from a different directory using ./wolfcoind -daemon (and there is no alternate conf file in that directoy).
The wolfcoin-cli client on the vps succeeds with:
./wolfcoin-cli -rpcuser=SOMEUSER -rpcpassword=SOMEPASSWORD getinfo
{
"version": 120303,
"protocolversion": 70210,
"walletversion": 61000,
"balance": 0.00000000,
"privatesend_balance": 0.00000000,
"blocks": 315739,
"timeoffset": 0,
"connections": 14,
"proxy": "",
"difficulty": 28743.82117521081,
"testnet": false,
"keypoololdest": 1563733002,
"keypoolsize": 999,
"paytxfee": 0.00000000,
"relayfee": 0.00001000,
"errors": ""
}
(but fails with ./wolfcoin-cli -rpcuser=NO_SUCH_USER -rpcpassword=MYPASSWORD1 getinfo)
The sentinel config looks as follow (note the attempt to specify path to wolfcoin.conf, apart from that a symbolic link was also tried to/from /root/.wolfcoin/wolfcoin.conf in the sentinel directory before uncommenting the _conf line)
# specify path to energi.conf or leave blank
# default is the same as EnergiCore
energi_conf=/root/.wolfcoin/wolfcoin.conf
wolfcoin_conf=/root/.wolfcoin/wolfcoin.conf
# valid options are mainnet, testnet, or testnet60x (default=mainnet)
network=mainnet
#network=testnet
# database connection details
db_name=database/sentinel.db
db_driver=sqlite
rpcuser=MYUSER
pcpassword=MYPASSWORD
In the windows wallet, under my masternodes, it says the masternode has been active 16h44 and last seen a couple of minutes ago, only the status says SENTINEL_PING_EXPIRED.
masternode status gives the following:
{
"outpoint": "7e095ed80b1afba69146376b8ed1795ad5b4e13cfee06f76a493a63665427a4c-1",
"service": ":4836",
"payee": "WXifBojHiwA7kCCTLf3jYE1rtQ1iR3CaPV",
"status": "Masternode successfully started"
}
If I understand correctly the sentinel MUST be running for MN rewards.
Please help.