Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: 41da7ae606b70a84e473d233d6bd23f4de1943d0
https://github.com/conformal/btcd/commit/41da7ae606b70a84e473d233d6bd23f4de1943d0
Author: Dave Collins <[email protected]>
Date: 2014-02-16 (Sun, 16 Feb 2014)
Changed paths:
M server.go
Log Message:
-----------
Switch over to new btcjson.GetPeerInfoResult.
Rather than using a type specifically in btcd for the getpeerinfo, this
commit, along with a recent commit to btcjson, changes the code over to
use the type from btcjson. This is more consistent with other RPC results
and provides a few extra benefits such as the ability for btcjson to
automatically unmarshal the results into a concrete type with proper field
types as opposed to a generic interface.