Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement a simple masternode status checker #16

Open
marsmensch opened this issue Nov 7, 2017 · 5 comments
Open

implement a simple masternode status checker #16

marsmensch opened this issue Nov 7, 2017 · 5 comments

Comments

@marsmensch
Copy link
Contributor

idea like mnchecker, but not that over-engineered

@marsmensch
Copy link
Contributor Author

@Dizz888
Copy link

Dizz888 commented Nov 16, 2017

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

@Dizz888
Copy link

Dizz888 commented Nov 16, 2017

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?

@cryptalt
Copy link

cryptalt commented Dec 28, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants