Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: 15ffc674a979e16b65f231e63441f76954688a73
      
https://github.com/conformal/btcwallet/commit/15ffc674a979e16b65f231e63441f76954688a73
  Author: Josh Rickmar <[email protected]>
  Date:   2014-01-09 (Thu, 09 Jan 2014)

  Changed paths:
    M account.go
    M accountstore.go
    A btcdrpc.go
    M cmd.go
    M cmdmgr.go
    A rpc.go
    M sockets.go

  Log Message:
  -----------
  Rework the btcd RPC connection.

This change greatly cleans up the RPC connection between btcwallet and
btcd.  Proper (JSON-RPC spec-following) notifications are now expected
rather than Responses with a non-empty IDs.

A new RPCConn interface type has also been introduced with a
BtcdRPCConn concrete type for btcd RPC connections.  Non-btcd-specific
code handles the RPCConn, while the btcd details have been abstracted
away to a handful of functions.  This will make it easier to write
tests by creating a new fake RPC connection with hardcoded expected
replies.


Reply via email to