Branch: refs/heads/master
  Home:   https://github.com/conformal/btcd
  Commit: 591b0f431df047b4c2ff4eadde1a65bce859d5a4
      
https://github.com/conformal/btcd/commit/591b0f431df047b4c2ff4eadde1a65bce859d5a4
  Author: Dave Collins <[email protected]>
  Date:   2014-02-03 (Mon, 03 Feb 2014)

  Changed paths:
    M peer.go
    M server.go

  Log Message:
  -----------
  Switch over to new btcwire Read/WriteMessageN.

This commit adds byte counters to each peer using the new btcwire
ReadMessageN and WriteMessageN functions to obtain the number of bytes
read and written, respectively.  It also returns those byte counters via
the PeerInfo struct which is used to populate the RPC getpeerinfo reply.

Closes #83.


Reply via email to