Post
Topic
Board Announcements (Altcoins)
Re: [ANN][HZ] Horizon Long + Fair Distribution|Decentralized Asset Exchange
by
altsheets
on 24/01/2016, 10:53:16 UTC
Very interesting, thank you very much.
That is helpful.

From a quick browse through your script, I am gathering, that you are using only port 7774 for all communication?
So you are querying also the "getPeers" call on 7774 ? Network-wise, I was thinking the same - that I should be able to get all peers of a node, even if the API (7776) is not open.

And that command "getCumulativeDifficulty" doesn't exist on 7776 ( http://api.nhzcrypto.org:7776/test )

--> Where can I find documentation how to communicate on port 7774? Command list? Thx!

...
BUT that way, I could NOT find 85.214.65.220 which is api.nhzcrypto.org.
So ... something in my strategy is not perfect yet. I might not be finding all nodes!
Happy about any suggestion.

My bash script finds peer 85.214.65.220:7774/api.nhzcrypto.org:7774

Code:
#!/bin/bash
...
PEER_SERVER_PORT="7774"
...
"requestType":"getInfo"
...
"requestType":"getCumulativeDifficulty"
...
"requestType":"getPeers"


And the approximate number of nodes you are finding is ... ?
Am I in the right ballpark?

Thanks.