1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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
158
159
160
161
162
|
Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
helo=mx.sourceforge.net)
by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <ronald.hoffman6@gmail.com>) id 1WH2lF-0007cO-Qm
for bitcoin-development@lists.sourceforge.net;
Sat, 22 Feb 2014 02:56:17 +0000
Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com
designates 74.125.82.177 as permitted sender)
client-ip=74.125.82.177; envelope-from=ronald.hoffman6@gmail.com;
helo=mail-we0-f177.google.com;
Received: from mail-we0-f177.google.com ([74.125.82.177])
by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1WH2lE-0005sN-O4
for bitcoin-development@lists.sourceforge.net;
Sat, 22 Feb 2014 02:56:17 +0000
Received: by mail-we0-f177.google.com with SMTP id t61so3059987wes.22
for <bitcoin-development@lists.sourceforge.net>;
Fri, 21 Feb 2014 18:56:10 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.180.13.5 with SMTP id d5mr5598872wic.54.1393037770435; Fri,
21 Feb 2014 18:56:10 -0800 (PST)
Received: by 10.227.60.4 with HTTP; Fri, 21 Feb 2014 18:56:10 -0800 (PST)
Date: Fri, 21 Feb 2014 21:56:10 -0500
Message-ID: <CAARg+Ed-bWCSHYQqSu=UqU3WscpjF1ewQYArSB4wdM7dWUW-=A@mail.gmail.com>
From: Ronald Hoffman <ronald.hoffman6@gmail.com>
To: bitcoin-development@lists.sourceforge.net
Content-Type: multipart/alternative; boundary=001a11c23fba77319804f2f5e19e
X-Spam-Score: -0.3 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
sender-domain
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
(ronald.hoffman6[at]gmail.com)
-0.0 SPF_PASS SPF: sender matches SPF record
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in
digit (ronald.hoffman6[at]gmail.com)
0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP
0.0 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL
1.0 HTML_MESSAGE BODY: HTML included in message
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1WH2lE-0005sN-O4
Subject: [Bitcoin-development] getpeerinfo results
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Sat, 22 Feb 2014 02:56:18 -0000
--001a11c23fba77319804f2f5e19e
Content-Type: text/plain; charset=ISO-8859-1
I noticed that the 'services' field appears to be garbled in the latest
source code level from github. Bitcoind is connected to my Java node
server at 127.0.0.1:8333. I thought I was sending a bad 'version' message
but I get the correct results using 0.8.6. So it appears that something
changed in 0.9.0.
Here is bitcoin-cli talking to bitcoind (0.9.0)
$ bitcoin-cli getpeerinfo
[
{
"addr" : "127.0.0.1:8333",
"services" : "0000000164x",
"lastsend" : 1393036635,
"lastrecv" : 1393036635,
"bytessent" : 100169,
"bytesrecv" : 53633565,
"conntime" : 1393036133,
"pingtime" : 0.00000000,
"version" : 70002,
"subver" : "/JavaBitcoin:1.0/",
"inbound" : false,
"startingheight" : 287125,
"banscore" : 0,
"syncnode" : true
}
]
Here is the same bitcoin-cli talking to bidcoind (0.8.6)
$ bitcoin-cli getpeerinfo
[
{
"addr" : "127.0.0.1:8333",
"services" : "00000001",
"lastsend" : 1393037165,
"lastrecv" : 1393037165,
"bytessent" : 77494,
"bytesrecv" : 13054,
"conntime" : 1393037135,
"version" : 70002,
"subver" : "/JavaBitcoin:1.0/",
"inbound" : false,
"startingheight" : 287126,
"banscore" : 0,
"syncnode" : true
}
]
Ron
--001a11c23fba77319804f2f5e19e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">I noticed that the 'services' field appears to be =
garbled in the latest source code level from github. =A0Bitcoind is connect=
ed to my Java node server at <a href=3D"http://127.0.0.1:8333">127.0.0.1:83=
33</a>. =A0I thought I was sending a bad 'version' message but I ge=
t the correct results using 0.8.6. =A0So it appears that something changed =
in 0.9.0.<div>
<br></div><div>Here is bitcoin-cli talking to bitcoind (0.9.0)</div><div><b=
r></div><div>$ bitcoin-cli getpeerinfo</div><div>[</div><div>=A0 =A0 {</div=
><div>=A0 =A0 =A0 =A0 "addr" : "<a href=3D"http://127.0.0.1:=
8333">127.0.0.1:8333</a>",</div>
<div>=A0 =A0 =A0 =A0 "services" : "0000000164x",</div><=
div>=A0 =A0 =A0 =A0 "lastsend" : 1393036635,</div><div>=A0 =A0 =
=A0 =A0 "lastrecv" : 1393036635,</div><div>=A0 =A0 =A0 =A0 "=
bytessent" : 100169,</div>
<div>=A0 =A0 =A0 =A0 "bytesrecv" : 53633565,</div><div>=A0 =A0 =
=A0 =A0 "conntime" : 1393036133,</div><div>=A0 =A0 =A0 =A0 "=
pingtime" : 0.00000000,</div><div>=A0 =A0 =A0 =A0 "version" =
: 70002,</div><div>=A0 =A0 =A0 =A0 "subver" : "/JavaBitcoin:=
1.0/",</div>
<div>=A0 =A0 =A0 =A0 "inbound" : false,</div><div>=A0 =A0 =A0 =A0=
"startingheight" : 287125,</div><div>=A0 =A0 =A0 =A0 "bansc=
ore" : 0,</div><div>=A0 =A0 =A0 =A0 "syncnode" : true</div><=
div>=A0 =A0 }</div><div>]</div><div>
<br></div><div>Here is the same bitcoin-cli talking to bidcoind (0.8.6)</di=
v><div><br></div><div><div>$ bitcoin-cli getpeerinfo</div><div>[</div><div>=
=A0 =A0 {</div><div>=A0 =A0 =A0 =A0 "addr" : "<a href=3D"htt=
p://127.0.0.1:8333">127.0.0.1:8333</a>",</div>
<div>=A0 =A0 =A0 =A0 "services" : "00000001",</div><div=
>=A0 =A0 =A0 =A0 "lastsend" : 1393037165,</div><div>=A0 =A0 =A0 =
=A0 "lastrecv" : 1393037165,</div><div>=A0 =A0 =A0 =A0 "byte=
ssent" : 77494,</div><div>
=A0 =A0 =A0 =A0 "bytesrecv" : 13054,</div><div>=A0 =A0 =A0 =A0 &q=
uot;conntime" : 1393037135,</div><div>=A0 =A0 =A0 =A0 "version&qu=
ot; : 70002,</div><div>=A0 =A0 =A0 =A0 "subver" : "/JavaBitc=
oin:1.0/",</div><div>=A0 =A0 =A0 =A0 "inbound" : false,</div=
>
<div>=A0 =A0 =A0 =A0 "startingheight" : 287126,</div><div>=A0 =A0=
=A0 =A0 "banscore" : 0,</div><div>=A0 =A0 =A0 =A0 "syncnode=
" : true</div><div>=A0 =A0 }</div><div>]</div></div><div><br></div><di=
v>Ron</div></div>
--001a11c23fba77319804f2f5e19e--
|