Open marsmensch opened 7 years ago
http://innovacoin.info/masternode-guides/sentinel-guide/
it is impossible to put on this instrument
root@vultr:~/sentinel# venv/bin/python bin/sentinel.py dashd not synced with network! Awaiting full sync before running Sentinel.
How can this be? why it is requested dashd?
all the master nodes are now in the status WATCHDOG_EXPIRED
I suspect that it is necessary to install sentinel But I can not install according to this instruction
root@vultr:~/sentinel# ./venv/bin/py.test ./test
======================================================================= test session starts =======================================================================
platform linux2 -- Python 2.7.12, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
rootdir: /root/sentinel, inifile:
collected 14 items / 2 errors
============================================================================= ERRORS ==============================================================================
_______________________________________________________ ERROR collecting test/unit/models/test_proposals.py _______________________________________________________
test/unit/models/test_proposals.py:10: in <module>
from models import GovernanceObject, Proposal, Vote
lib/models.py:5: in <module>
import init
lib/init.py:103: in <module>
main()
lib/init.py:100: in main
sys.exit(1)
E SystemExit: 1
------------------------------------------------------------------------- Captured stdout -------------------------------------------------------------------------
[Errno 2] No such file or directory: '/root/.dashcore/dash.conf'
DashCore must be installed and configured, including JSONRPC access in dash.conf
______________________________________________________ ERROR collecting test/unit/models/test_superblocks.py ______________________________________________________
test/unit/models/test_superblocks.py:10: in <module>
from models import GovernanceObject, Proposal, Superblock, Vote
lib/models.py:5: in <module>
import init
lib/init.py:103: in <module>
main()
lib/init.py:100: in main
sys.exit(1)
E SystemExit: 1
------------------------------------------------------------------------- Captured stdout -------------------------------------------------------------------------
[Errno 2] No such file or directory: '/root/.dashcore/dash.conf'
DashCore must be installed and configured, including JSONRPC access in dash.conf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================== 2 error in 0.66 seconds =====================================================================
root@vultr:~/sentinel#
why he refers to '/root/.dashcore/dash.conf ? How can I fix this?
What's overengineered about mnchecker? https://github.com/Aziroshin/mnchecker/blob/master/mnchecker
About 40% of it is grace period calculation since it doesn't use a hard-coded explorer link to determine if your chain is stale. About another 40% error handling and function boiler plate which could be trimmed.
Doesn't seem that as -is it would be very hard to parameterize for your install script.
idea like mnchecker, but not that over-engineered