Bitcoin Forum
June 25, 2018, 08:18:29 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 [136] 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 »
  Print  
Author Topic: .  (Read 490402 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
MaWo
Hero Member
*****
Offline Offline

Activity: 575
Merit: 502


View Profile WWW
January 24, 2016, 12:00:08 AM
 #2701

...
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

SDATE=`date '+%Y-%m-%d-%H-%M-%S'`
RESULTS="peer-results-${SDATE}.txt"
PEER_SERVER_PORT="7774"
PEER_URI_SUFFIX="nhz"
FIRST_PEER="eu6.woll-e.net"

declare -A assoPeers

exists(){
  if [ "$2" != in ]; then
    echo "Wrong syntax!"
    echo "Syntax: exists {key} in {array}"
    return
  fi   
  eval '[ ${'$3'[$1]+test} ]' 
}

typeset -i addCounter=0

function getPeerInfo() {
    peer="$1"
    addCounter=0
    ROW="$peer  "

    # test whether announced address includes a port
    if [ `echo $peer| grep ':'|wc -l` -gt 0 ]; then
        URI="http://${peer}/${PEER_URI_SUFFIX}"
    else
        URI="http://${peer}:${PEER_SERVER_PORT}/${PEER_URI_SUFFIX}"
    fi

    ROW2=`curl --silent -4 -m5 --data '{"platform":"TEST","protocol":1,"application":"TEST Bot","requestType":"getInfo","version":"v0.1"}' "${URI}" | tr '\r\|\n' ' '`
    if [ $? -gt 0 ]; then
        assoPeers["${peer}"]="error getInfo"
        return 1
    fi
    sleep 0.1

    peerVersion=`echo "$ROW2" | jshon -C -Q -e version | sed -e 's/"//g'`

    ROW3=`curl --silent -4 -m5 --data '{"platform":"TEST","protocol":1,"application":"TEST Bot","requestType":"getCumulativeDifficulty","version":"v0.1"}' "${URI}" | tr '\r\|\n' ' '`
    ROW2+="     ${ROW3}"
    if [ $? -gt 0 ]; then
        assoPeers["${peer}"]="error getCumulativeDifficulty"
        return 1
    fi
    sleep 0.1
    peerHeight=`echo "$ROW3" | jshon -C -Q -e blockchainHeight | sed -e 's/"//g'`

    PEERS=`curl --silent -4 -m5 --data '{"platform":"TEST","protocol":1,"application":"TEST Bot","requestType":"getPeers","version":"v0.1"}' "${URI}"| jshon -C -Q -e peers | grep -v '\]\|\['| sed -e 's/[" ,]//g'`
    if [ $? -gt 0 ]; then
        assoPeers["${peer}"]="error getPeers"
        return 1
    fi

    ROW2+="     "`echo $PEERS|tr '\r\|\n' ' '`

    # read peers into an array
    IFS=$'\n ' read -r -d '' -a peersarray < <(printf '%s\0' "$PEERS")

    #add only elements from peersarray into the associative array which doesn't exist
    if [ "${#peersarray[@]}" -gt 0 ]; then
        for a in "${peersarray[@]}"; do
            if ! exists "$a" in assoPeers; then
                assoPeers["$a"]="0";
                addCounter=addCounter+1
            fi
        done
    fi
    ROW+="      ${#peersarray[@]}       $addCounter     ${#assoPeers[@]}"
    assoPeers["${peer}"]="$ROW  $ROW2"

    printf "${peerCounter}\t${#peersarray[@]}\t$addCounter\t${#assoPeers[@]}\t${peer}\t${peerVersion}\t${peerHeight}\n" | tee -a $RESULTS
}

function isNextPeer() {
    nextPeer=""
    for key in ${!assoPeers[@]}; do
        if [ "${assoPeers[${key}]}" == "0" ]; then
            assoPeers["${key}"]="started"
            nextPeer="${key}"
            return 0
        fi
    done
    return 1
}

### MAIN  ###

typeset -i peerCounter=1
printf "counter\tpeers\tnew\ttotal\thost\tversion\theight\n"| tee -a $RESULTS
getPeerInfo "${FIRST_PEER}"

while isNextPeer; do
    peerCounter=peerCounter+1
    getPeerInfo "$nextPeer"
done

Automated Bitcoin Fork Extraction Tool WE DO TOUGH WALLETS: BCH | BTG | BCD | SBTC | UBTC | B2X | BCX | BTF Electrum 2FA, Trezor, Ledger, SegWit, Bech32
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529957909
Hero Member
*
Offline Offline

Posts: 1529957909

View Profile Personal Message (Offline)

Ignore
1529957909
Reply with quote  #2

1529957909
Report to moderator
1529957909
Hero Member
*
Offline Offline

Posts: 1529957909

View Profile Personal Message (Offline)

Ignore
1529957909
Reply with quote  #2

1529957909
Report to moderator
altsheets
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1000

Free trial of #AltFolio = save time, react faster


View Profile WWW
January 24, 2016, 10:53:16 AM
 #2702

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.


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
MaWo
Hero Member
*****
Offline Offline

Activity: 575
Merit: 502


View Profile WWW
January 24, 2016, 11:03:50 AM
 #2703

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!
...

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

Thanks.

I used the following documentation for the peer server Wink
https://github.com/NeXTHorizon/hz-source/tree/master/src/java/nxt/peer

results from last night:
Code:
cat peer-results-2016-01-24-00-53-40.txt
counter peers   new     total   host    version height
1       146     146     147     eu6.woll-e.net  NHZ V5.4        554958
2       5       1       148     107.161.81.142  NHZ V5.4        554958
3       32      2       150     185.32.157.22   NHZ V5.4        554958
4       22      3       153     193.198.102.32  NHZ V5.4        554958
5       21      0       153     194.135.89.18   NHZ V5.4        554958
6       22      1       154     194.135.88.110  NHZ V5.4        554958
7       30      1       155     52.32.104.97    NHZ V5.4        554958
8       22      0       155     85.214.65.220   NHZ V5.4        554958
9       37      1       156     185.32.157.23   NHZ V5.4        554958
10      0       0       156     185.32.157.143  NHZ V5.4        0
11      33      1       157     185.32.157.95   NHZ V5.4        554958
12      34      0       157     185.32.157.20   NHZ V5.4        554958
13      24      0       157     192.99.77.148   NHZ V5.4        554958
14      37      0       157     185.32.157.94   NHZ V5.4        554958
15      41      0       157     185.32.157.21   NHZ V5.4        554958
16      28      0       157     50.173.35.180   NHZ V5.4        554958
17      4       0       157     107.161.81.146  NHZ V5.4        554958
18      43      0       157     185.32.157.26   NHZ V5.4        554958
19      24      0       157     52.26.118.234   NHZ V5.4        554953
20      32      0       157     185.32.157.27   NHZ V5.4        554958
21      22      0       157     194.135.85.170  NHZ V5.4        554958
22      25      0       157     192.227.175.158 NHZ V5.4        554958
23      29      0       157     52.24.16.77     NHZ V5.4        554958
24      45      0       157     185.32.157.24   NHZ V5.4        554958
25      38      0       157     185.32.157.147  NHZ V5.4        554958
26      33      0       157     185.32.157.25   NHZ V5.4        554958
27      24      0       157     161.53.40.94    NHZ V5.4        554958
28      34      1       158     185.32.157.105  NHZ V5.4        554958
29      38      0       158     185.32.157.149  NHZ V5.4        554958
30      26      0       158     185.32.156.47   NHZ V5.4        554958
31      43      0       158     185.32.157.104  NHZ V5.4        554958
32      45      0       158     185.32.157.148  NHZ V5.4        554958
33      21      0       158     193.198.102.245 NHZ V5.4        554958
34      23      0       158     185.32.156.46   NHZ V5.4        554958
35      27      0       158     unna.zapto.org  NHZ V5.4        554958
36      35      0       158     185.32.157.28   NHZ V5.4        554958
37      21      0       158     193.198.102.246 NHZ V5.4        554958
38      23      0       158     185.32.156.45   NHZ V5.4        554958
39      21      0       158     198.154.60.61   NHZ V5.4        554958
40      44      0       158     185.32.157.29   NHZ V5.4        554958
41      26      0       158     185.32.156.44   NHZ V5.4        554958
42      24      0       158     52.24.142.13    NHZ V5.4        554957
43      21      2       160     158.69.202.70   NHZ V5.3        554958
44      37      0       160     185.32.157.101  NHZ V5.4        554958
45      22      0       160     185.32.156.43   NHZ V5.4        554958
46      25      1       161     54.174.241.182  NHZ V5.4        554958
47      21      0       161     178.33.14.208   NHZ V5.4        554958
48      30      0       161     185.32.157.100  NHZ V5.4        554958
49      31      0       161     52.24.187.95    NHZ V5.4        554957
50      27      0       161     185.32.156.42   NHZ V5.4        554958
51      34      0       161     185.32.157.99   NHZ V5.4        554958
52      31      0       161     185.32.157.77   NHZ V5.4        554958
53      40      0       161     185.32.157.103  NHZ V5.4        554958
54      28      0       161     185.32.156.41   NHZ V5.4        554958
55      39      0       161     185.32.157.98   NHZ V5.4        554959
56      39      0       161     185.32.157.76   NHZ V5.4        554959
57      0       0       161     185.32.157.102  NHZ V5.4        0
58      38      0       161     185.32.156.40   NHZ V5.4        554959
59      28      0       161     98.207.117.83   NHZ V5.4        554959
60      32      0       161     143.177.26.246  NHZ V5.4        554959
61      24      0       161     193.198.102.54  NHZ V5.4        554959
62      24      0       161     130.211.142.219 NHZ V5.4        554959
63      23      0       161     52.16.128.175   NHZ V5.4        554959
64      5       0       161     192.227.239.69  NHZ V5.4        554959
65      29      0       161     79.241.209.184  NHZ V5.4        554959
66      23      0       161     70.118.207.119  NHZ V5.4        554959
67      24      0       161     92.222.65.40    NHZ V5.4        554959
68      22      0       161     193.198.102.51  NHZ V5.4        554959
69      42      0       161     185.32.157.81   NHZ V5.4        554959
70      21      0       161     198.46.192.106  NHZ V5.4        554959
71      21      15      176     45.55.79.49     NHZ V4.0e       565925
72      21      0       176     159.203.125.129 NHZ V4.0e       565925
73      22      0       176     104.131.0.36    NHZ V4.0e       565925
74      21      0       176     40.115.9.55     NHZ V4.0e       565923
75      21      0       176     159.203.76.78   NHZ V4.0e       565925
76      21      0       176     176.126.245.17  NHZ V4.0e       565925
77      21      0       176     159.203.119.139 NHZ V4.0e       565925
78      20      0       176     193.198.102.53  NHZ V5.4        554959
79      34      0       176     185.32.157.60   NHZ V5.4        554959
80      26      0       176     23.95.44.142    NHZ V5.4        554959
81      21      0       176     159.203.65.55   NHZ V4.0e       565925
82      22      0       176     193.198.102.52  NHZ V5.4        554959
83      23      0       176     85.214.37.185   NHZ V5.4        554959
84      37      2       178     107.155.89.207  NHZ V3.8        347214
85      0       0       178     204.44.118.124  NHZ V3.2        276108
86      21      0       178     104.236.121.190 NHZ V4.0e       565925
87      20      0       178     85.214.243.229  NHZ V5.4        554959
88      25      0       178     194.135.88.140  NHZ V5.4        554959
89      23      0       178     52.28.46.180    NHZ V5.4        554959
90      41      0       178     85.214.43.71    NHZ V5.4        554959
91      23      0       178     77.88.208.12    NHZ V5.4        554959
92      22      0       178     194.135.89.218  NHZ V5.4        554959
93      24      0       178     188.226.179.119 NHZ V5.4        554959
94      22      0       178     193.107.35.234  NHZ V5.4        554959
95      28      0       178     52.24.85.12     NHZ V5.4        554956
96      25      0       178     37.120.160.148  NHZ V5.2        554959
97      20      0       178     backslash.dyndns.info   NHZ V4.0e       565925
98      0       0       178     204.44.115.27   NHZ V3.2        236131
99      32      0       178     185.32.157.52   NHZ V5.4        554959
100     1       1       179     192.227.163.233 NHZ V5.4        554959
101     1       0       179     null
102     36      0       179     185.32.157.51   NHZ V5.4        554960
103     25      0       179     31.24.29.221    NHZ V5.4        554960
104     67      0       179     110.143.228.78  NHZ V5.4        554960
105     21      0       179     178.62.194.195  NHZ V5.4        554960
106     21      0       179     69.28.82.75     NHZ V5.4        554960
107     23      0       179     194.135.88.81   NHZ V5.4        554960
108     33      0       179     185.32.157.57   NHZ V5.4        554960
109     21      0       179     104.236.83.233  NHZ V5.4        554960
110     35      0       179     185.32.157.56   NHZ V5.4        554960
111     22      0       179     192.3.156.15    NHZ V5.4        554958
112     23      0       179     194.135.92.93   NHZ V5.4        554960
113     36      0       179     185.32.157.19   NHZ V5.4        554960
114     30      0       179     37.120.173.114  NHZ V5.2        554960
115     4       0       179     138.128.169.91  NHZ V5.4        554960
116     40      0       179     185.32.157.18   NHZ V5.4        554960
117     21      0       179     81.169.133.57:80        NHZ V5.4        554960
118     22      0       179     192.3.156.18    NHZ V5.4        554958
119     37      0       179     107.155.90.83   NHZ V3.8        347289
120     32      0       179     52.32.66.50     NHZ V5.4        554960
121     22      0       179     93.75.9.10      NHZ V5.4        554960
122     10      0       179     185.38.44.173   NHZ V5.4        554960
123     22      0       179     198.154.60.183  NHZ V5.4        554961
124     36      0       179     185.32.157.59   NHZ V5.4        554961
125     44      0       179     185.32.157.154  NHZ V5.4        554961
126     26      0       179     104.219.53.3    NHZ V5.4        554961
127     146     0       179     5.9.149.197     NHZ V5.4        554961
128     65      0       179     eu4.woll-e.net  NHZ V5.4        554961
129     32      0       179     185.32.157.58   NHZ V5.4        554961
130     32      0       179     54.201.121.58   NHZ V5.4        554961
131     24      0       179     161.53.40.242   NHZ V5.4        554961
132     130     0       179     nhz.noip.me     NHZ V5.4        554961
133     27      0       179     185.32.157.152  NHZ V5.4        554961
134     5       0       179     185.38.44.174   NHZ V5.4        554961
135     31      0       179     52.24.108.223   NHZ V5.4        554956
136     38      0       179     185.32.157.153  NHZ V5.4        554961
137     42      0       179     107.155.89.235  NHZ V3.8        565926
138     41      0       179     185.32.157.150  NHZ V5.4        554961
139     20      0       179     162.213.153.7   NHZ V5.4        554961
140     28      0       179     52.27.145.90    NHZ V5.4        554961
141     25      0       179     194.135.91.6    NHZ V5.4        554961
142     25      0       179     130.211.178.56  NHZ V5.4        554961
143     21      0       179     194.135.88.186  NHZ V5.4        554961
144     27      0       179     185.32.156.36   NHZ V5.4        554961
145     32      0       179     52.26.95.4      NHZ V3.9.1      565882
146     37      0       179     185.32.156.37   NHZ V5.4        554961
147     24      0       179     89.72.57.246    NHZ V5.4        554961
148     23      0       179     167.206.61.3    NHZ V5.4        554961
149     25      0       179     185.32.156.35   NHZ V5.4        554961
150     36      0       179     52.25.130.226   NHZ V3.9.1      565926
151     26      0       179     173.232.15.176  NHZ V5.4        554961
152     22      0       179     99.192.94.44    NHZ V5.4        554961
153     41      0       179     185.32.157.30   NHZ V5.4        554961
154     22      0       179     194.135.88.20   NHZ V5.4        554961
155     22      0       179     84.198.88.87    NHZ V5.4        554961
156     26      0       179     5.196.143.14    NHZ V5.4        554961
157     23      0       179     85.214.18.69    NHZ V5.4        554961
158     21      0       179     40.115.9.5      NHZ V4.0e       565925
159     4       0       179     138.128.169.44  NHZ V5.4        554961
160     31      0       179     192.3.148.171   NHZ V5.4        554961
161     24      0       179     178.130.36.81   NHZ V5.2        554961
162     22      0       179     nsports.de      NHZ V5.3        554961
163     21      0       179     23.245.7.15     NHZ V5.4        554961
164     24      0       179     54.164.36.118   NHZ V5.4        554959
165     22      0       179     138.128.169.220 NHZ V5.4        554961
166     33      0       179     79.132.111.195  NHZ V5.4        554961
167     5       0       179     138.128.169.227 NHZ V5.4        554961
168     28      0       179     113.243.8.137   NHZ V5.4        554961
169     30      0       179     52.88.94.131    NHZ V5.4        554959
170     23      0       179     45.55.157.54    NHZ V5.2        554961
171     53      0       179     nhz.woll-e.net  NHZ V5.4        554961
172     22      0       179     45.55.81.226    NHZ V4.0e       565927
173     39      0       179     142.68.155.233  NHZ V5.4        554961
174     26      0       179     194.135.88.1    NHZ V5.4        554961
175     25      0       179     107.178.217.48  NHZ V5.4        554961
176     25      0       179     150.107.225.218 NHZ V5.4        554961
177     29      0       179     185.32.156.38   NHZ V5.4        554959
178     22      0       179     5.45.111.215    NHZ V5.2        554961
179     34      0       179     185.32.156.39   NHZ V5.4        554961
altsheets
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1000

Free trial of #AltFolio = save time, react faster


View Profile WWW
January 24, 2016, 01:57:23 PM
 #2704


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

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

Thanks.

I used the following documentation for the peer server Wink
https://github.com/NeXTHorizon/hz-source/tree/master/src/java/nxt/peer

Haha :-) Alright then, thx for the hint ... I found this now there:
https://github.com/NeXTHorizon/hz-source/blob/master/src/java/nxt/peer/PeerServlet.java#L61-L71

Thanks.


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

results from last night:
... 179 ...
Good to know, thanks. So with my 124 nodes, I wasn't too far off at least.
Perhaps those missing ones are the nodes which work on different ports than 7776 and 7774 ?

I'd like to find out ...


.

EDIT: Solved it!

At first I could not get around this obstacle: https://github.com/altsheets/chaincountdown/blob/master/tools/test7774.py#L9-L15

But now I found the reason, with this testing script:

Code:
rm test7774.py -f
wget https://raw.githubusercontent.com/altsheets/chaincountdown/master/tools/test7774.py
python test7774.py

The breakthrough was possible when I realized that I can compare curl to python.requests.post at www.requestb.in

--> Solution:

Code:
headers = {'content-type': 'application/x-www-form-urlencoded'}

Now it works. *sigh*. Yiehah.


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
Nxtblg
Legendary
*
Offline Offline

Activity: 924
Merit: 1000



View Profile WWW
January 24, 2016, 10:34:44 PM
 #2705

Try this one: https://159.203.20.204/wallet/index.html  Smiley

Thanks, MaWo  Wink






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






markm
Legendary
*
Offline Offline

Activity: 2072
Merit: 1000



View Profile WWW
January 25, 2016, 10:20:48 AM
 #2706

On the admin.html page where you generate your hallmark, the date format is not specified, the example date is ambiguous, it is not clear that international standard dates that collate normally in ASCII are intended, because the example date shown would also work if it was some kind of bastardised non-collating wierd U.S. format where they screwed up the month and day to break easy collation (listing in sequence) of dates (such as if you happen to use a date as a filename or whatever).

So presumably either the U.S. idiots or the whole rest of the world might well be entering the date incorrectly, would that screw up their distribution of coins for running a node?

This seems like an important problem, who the heck decided to put such an ambiguous date in there as example date instead of something like 2013-12-31 that makes it plain the normal easy-to-collate international date style is intended? (Or vice versa, 2013-31-12 if stupid american crap is intended) ?

TL;DR what the fuck order are we supposed to put the year month and day in that stupid/idiotic form?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
MaWo
Hero Member
*****
Offline Offline

Activity: 575
Merit: 502


View Profile WWW
January 25, 2016, 10:28:31 AM
 #2707


...

This seems like an important problem, who the heck decided to put such an ambiguous date in there as example date instead of something like 2013-12-31 that makes it plain the normal easy-to-collate international date style is intended? (Or vice versa, 2013-31-12 if stupid american crap is intended) ?

...
-MarkM-


I guess Jean Luc:
https://bitbucket.org/JeanLucPicard/nxt/annotate/108075295db840cf588dc30a9b77a262ccf92802/webapps/root/admin.html?at=0.4.8&fileviewer=file-view-default#admin.html-50
altsheets
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1000

Free trial of #AltFolio = save time, react faster


View Profile WWW
January 25, 2016, 03:47:45 PM
 #2708

Quote
TL;DR what the fuck order are we supposed to put the year month and day in that stupid/idiotic form?
Wink

This seems like an important problem, who the heck decided to put such an ambiguous date in there as example date instead of something like 2013-12-31 that makes it plain the normal easy-to-collate international date style is intended? (Or vice versa, 2013-31-12 if stupid american crap is intended) ?
...
-MarkM-

I guess Jean Luc:
https://bitbucket.org/JeanLucPicard/nxt/annotate/108075295db840cf588dc30a9b77a262ccf92802/webapps/root/admin.html?at=0.4.8&fileviewer=file-view-default#admin.html-50


Does this help? --> Hallmark.parseDate(dateValue) --> class Hallmark


*g*


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1000

Free trial of #AltFolio = save time, react faster


View Profile WWW
January 25, 2016, 06:27:25 PM
 #2709

Continuation from above (updated).

chaincountdown v18

HZ peer network - analysis

Once the above crawler was ready, a natural next step was to make a network graph from the collected data.

This is how it looks:



Two nodes (green spheres) are connected with edges (gray lines) if they call each other 'peers'.
The more peers a node has (that is called the degree of a node), the bigger its sphere.

Strange shape, isn't it?

The network is very dense, so most nodes end up drawn into one big ball.
But those which are not, were catching my attention. Irregularities are interesting.

I tried an automatic clustering algorithm (i.e. "color nodes equal which are similar"),
called Louvain communities, and those nodes on the top right are clearly recognized
to be different from the all other ones:



You also see some quantitative measurements of network properties. For example:
"Path length" means how many steps a transaction needs from one node to another one.
"Diameter=4" says, it takes maximum 4 steps for a transaction to reach any other node,
and "characteristic path length" that on average only 1.769 steps.

The "Number of shared neighbors" is interesting. Many nodes are almost copies to each other.


But back to the question ... what is making those nodes at the top right so
different, that they are drawn so far out of the main bulk? Ah ... idea:
I checked for the HZ version ("NHZ V5.4") of each node, and colored them:



And now it was all clear: The nodes on the top right ... should be -but have not been- updated :-)
The mainstream (yellow) nodes do not like nostalgic, old-fashioned nodes - and do not connect to them.

The three V5 versions are mixing well, the network graph is showing that too.

Riddle solved.

By the way, here is the first picture with which I realized that I had probably hit the right reason:



The placement of the nodes is a bit artificial, it uses a "optimize inside clusters only" layouting.
But it gives immediate feedback that coloring ("NHZ versions") has something to do with graph structure.
The "NHZ 4.0e" version still has a lot of fans  Wink (RED nodes).


... Anyways, back on track:

Now I dropped all older-than-V5 nodes from the picture - and 160 IP addresses remained:



As they are hyperconnected, with many more links between them than needed
(diameter 2, average path length 1.722, average peers 44.225 / 159 = 28% of all nodes)
it is very difficult to get a meaningful automatic layout.

What I employed is the automatic partitioning "BlockModelling" by "Structural Equivalence"
... which identified 7 nodes (blue) to be different from all the other >150 ones.
They also seem to be the ones with the largest degree. I placed them manually.

At the bottom right you see a (log-log) histogram of degree versus number-of-such-nodes.

That's it, for now.


A typical next question of network analysis would be "resilience":
* ... against random failure: How many nodes have to fail until the network is fragmenting.
* ... against attacks: How many of the most connected nodes have to fail, until the network is fragmenting.

That can be examined in numerical simulations. Perhaps you want to try, then all network files are here ...


That was a really enjoyable, geeky weekend. What had started as a short & simple
user question "your image server is down" ... evolved into a whole research project.

Fascinating, no?

 Wink

If that was entertaining, enlightening, cool, or simply ... interesting
- then please now consider a way to give back. Thanks. You're good.



Home of this: chaincountdown thread


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
JPred
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


my magic is growing strong[er]


View Profile
January 25, 2016, 07:47:34 PM
 #2710

^ awesomely fascinating altsheets.  Smiley Being visually inclined helped me make sense of your network analysis.

FREEDOM
GoldenEye
Hero Member
*****
Offline Offline

Activity: 600
Merit: 500


View Profile
January 25, 2016, 09:04:34 PM
 #2711

On the admin.html page where you generate your hallmark, the date format is not specified, the example date is ambiguous, it is not clear that international standard dates that collate normally in ASCII are intended, because the example date shown would also work if it was some kind of bastardised non-collating wierd U.S. format where they screwed up the month and day to break easy collation (listing in sequence) of dates (such as if you happen to use a date as a filename or whatever).

So presumably either the U.S. idiots or the whole rest of the world might well be entering the date incorrectly, would that screw up their distribution of coins for running a node?

This seems like an important problem, who the heck decided to put such an ambiguous date in there as example date instead of something like 2013-12-31 that makes it plain the normal easy-to-collate international date style is intended? (Or vice versa, 2013-31-12 if stupid american crap is intended) ?

TL;DR what the fuck order are we supposed to put the year month and day in that stupid/idiotic form?

-MarkM-


https://en.wikipedia.org/wiki/ISO_8601

Would the stupid american really write 2013-31-12 ? Never seen it before.
PapillonV
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
January 27, 2016, 11:17:52 AM
 #2712

What happened to HZ why the price is low?
JPred
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


my magic is growing strong[er]


View Profile
January 27, 2016, 08:11:30 PM
 #2713

Look at big bro NXT, not to mention lotsa other alts - only today at current time: up already 28% hah...seems like HZ left in the dust.

FREEDOM
Nxtblg
Legendary
*
Offline Offline

Activity: 924
Merit: 1000



View Profile WWW
January 27, 2016, 11:44:21 PM
 #2714

Look at big bro NXT, not to mention lotsa other alts - only today at current time: up already 28% hah...seems like HZ left in the dust.

These things happen. There was a time when HZ was leaping up and Nxt was languishing. The wheel of fortune keep on turning.






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






altsheets
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1000

Free trial of #AltFolio = save time, react faster


View Profile WWW
January 28, 2016, 04:51:38 PM
 #2715

Many many altcoin markets have been crazy bullish in the past days.
Dunno why (tell me if you know), but looks like #altsareback and waking up.

I say that because I guess if HZ showed some upwards impulse now, then the
probability would be non-zero ... that other market participants would join in.


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
NASdaq
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250


View Profile
January 29, 2016, 01:19:21 AM
 #2716

Is the node bounty system finished now? Are node numbers holding up?
ropyu1978
Hero Member
*****
Offline Offline

Activity: 772
Merit: 500



View Profile
January 29, 2016, 07:02:37 AM
 #2717

where can trade?

         ▄▄████▄▄        
     ▄▄████████████▄▄       
 ▄▄████████████████████▄▄ 
██████████▀▀  ▀▀▀███▀▀▀      
███████▀                 
███████    ▄██▄     ▄▄▄▄▄▄
███████   ██████   ▐██████
███████    ▀██▀    ▐██████
███████▄          ▄███████
██████████▄▄  ▄▄██████████
 ▀▀████████████████████▀▀ 
     ▀▀████████████▀▀     
         ▀▀████▀▀
GlobaTalent██████
██
██  ██
██  ██
██  ██
██  ██
██  ██
██
.
         ▄▄████▄▄        
     ▄▄████████████▄▄       
 ▄▄████████████████████▄▄ 
██████████▀▀  ▀▀▀███▀▀▀      
███████▀                 
███████    ▄██▄     ▄▄▄▄▄▄
███████   ██████   ▐██████
███████    ▀██▀    ▐██████
███████▄          ▄███████
██████████▄▄  ▄▄██████████
 ▀▀████████████████████▀▀ 
     ▀▀████████████▀▀     
         ▀▀████▀▀
██████
    ██
██  ██
██  ██
██  ██
██  ██
██  ██
    ██
▇▇ Read our Whitepaper ▇▇
Telegram
.
Facebook
Medium
.
Twitter
ANN Thread
.
Bounty
Nxtblg
Legendary
*
Offline Offline

Activity: 924
Merit: 1000



View Profile WWW
January 29, 2016, 01:28:00 PM
 #2718

where can trade?

Poloniex.

https://poloniex.com/exchange#btc_hz

It's cheap now..






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






djselery
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001



View Profile
January 30, 2016, 08:12:35 AM
 #2719

Many many altcoin markets have been crazy bullish in the past days.
Dunno why (tell me if you know), but looks like #altsareback and waking up.

I say that because I guess if HZ showed some upwards impulse now, then the
probability would be non-zero ... that other market participants would join in.


lots of money is being made in eth and dash... now the wealth is being distributed Wink

▄▄▄▄▄▄▄
▄▄█████████████▄▄
▄█████▀▀     ▀▀█████▄
▄████▀             ▀████▄
████▀                 ▀████
████    ▄███ ▄   ▄███    ████
▐███     ▀▀▄▄██   ████     ███▌
███    ▄▄████▀▀   ████      ███
██▀▄▄████▀▀▄▄     ████      ███
▀▄███▀▀  █████▄ ▄█████     ███▌
▀▀▄▄     ███████████     ████
████▄    ▀▀█████▀▀    ▄████
▀████▄             ▄████▀
▀████▄▄       ▄▄████▀
▀▀█████████████▀▀
▀▀▀▀▀▀▀▀▀

UbcoinMarket
          ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
[]
▄▄▄▄▄▄
▄▄█████████████▄▄
▄█████▀▀     ▀▀█████▄
▄████▀             ▀████▄
████▀                ▀████
████           ▄▄███     ████
▐███        ▄▄███████      ███▌
███     ▄▄███▀▀█████        ███
███   ▀████▀ ▄██████        ███
▐███     █ ▄███████        ███▌
████    █ █▀   ▀▀█       ████
████▄                 ▄████
▀████▄             ▄████▀
▀████▄▄       ▄▄████▀
▀▀█████████████▀▀
▀▀▀▀▀▀▀▀▀
GoldenEye
Hero Member
*****
Offline Offline

Activity: 600
Merit: 500


View Profile
January 31, 2016, 03:34:01 PM
 #2720

Is the node bounty system finished now? Are node numbers holding up?

Currently there are 140 nodes, they share the approximately 160000 HZ bounties.
Pages: « 1 ... 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 [136] 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!