moocowmoo / dashman

DASH wallet/daemon management utilities
MIT License
52 stars 38 forks source link

Forward compatibility fix for CentOS 7.x platform and nmap-ncat issues. #37

Open hookbot opened 6 years ago

hookbot commented 6 years ago

Yes, everything used to work fine on CentOS 6.x until RedHat 7.x came along and decided that the "nmap-ncat" package was a great replacement for "nc". Unfortuantely, this doesn't support that DANGEROUS "-z" option anymore. Rude, eh?

So this patch just allows it to work with any version of netcat again, just like the good old days.

hookbot commented 6 years ago

I just tested dashman with this patch on CentOS 7.x and everything is finally up and running perfectly fine now. Sorry for the past 16 months where this hasn't been working.

hookbot commented 6 years ago

The www.dashninja.pl website no longer detects freshly configured masternodes at the moment. So this patch will pull the funding txn and payee from "masternode status" instead of trying to extract it from WEB_NINJA_JSON.

hookbot commented 6 years ago

And this finally fixes this crashing spewage on CentOS 6.x platform:

--> testing installation... Traceback (most recent call last): File "venv/bin/py.test", line 5, in from pkg_resources import load_entry_point File "/home/master/.dashcore/sentinel/venv/lib/python2.6/site-packages/pkg_resources.py", line 3007, in working_set.require(requires) File "/home/master/.dashcore/sentinel/venv/lib/python2.6/site-packages/pkg_resources.py", line 728, in require needed = self.resolve(parse_requirements(requirements)) File "/home/master/.dashcore/sentinel/venv/lib/python2.6/site-packages/pkg_resources.py", line 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: argparse --> sentinel tests failed when running: venv/bin/py.test ./test/ Exiting.