public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: Ronald Hoffman <ronald.hoffman6@gmail.com>
To: bitcoin-development@lists.sourceforge.net
Subject: [Bitcoin-development] getpeerinfo results
Date: Fri, 21 Feb 2014 21:56:10 -0500	[thread overview]
Message-ID: <CAARg+Ed-bWCSHYQqSu=UqU3WscpjF1ewQYArSB4wdM7dWUW-=A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2327 bytes --]

             reply	other threads:[~2014-02-22  2:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-22  2:56 Ronald Hoffman [this message]
2014-02-22  8:08 ` [Bitcoin-development] getpeerinfo results Wladimir
2014-02-22  8:54   ` Wladimir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAARg+Ed-bWCSHYQqSu=UqU3WscpjF1ewQYArSB4wdM7dWUW-=A@mail.gmail.com' \
    --to=ronald.hoffman6@gmail.com \
    --cc=bitcoin-development@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox