[btcsuite/btcwallet] b480a0: Set account field in listtransactions result.

2016-02-06 Thread Josh Rickmar
  Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcwallet
  Commit: b480a0a09ddc5b0fd4aa2cf8267be3f596560b9e
  
https://github.com/btcsuite/btcwallet/commit/b480a0a09ddc5b0fd4aa2cf8267be3f596560b9e
  Author: Josh Rickmar 
  Date:   2016-02-06 (Sat, 06 Feb 2016)

  Changed paths:
M rpc/legacyrpc/server.go
M wallet/wallet.go

  Log Message:
  ---
  Set account field in listtransactions result.

This field is only set for non-"send" categories since the wallet does
not track a "from account" like Core's wallet does.

Fixes #353.




[btcsuite/btcwallet] 32ca19: Allow spending from the waddrmgr.ImportedAddrAccou...

2016-02-06 Thread Olaoluwa Osuntokun
  Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcwallet
  Commit: 32ca19322a5db259736eaa9766c0979152ec4d38
  
https://github.com/btcsuite/btcwallet/commit/32ca19322a5db259736eaa9766c0979152ec4d38
  Author: Olaoluwa Osuntokun 
  Date:   2016-02-06 (Sat, 06 Feb 2016)

  Changed paths:
M wallet/createtx.go

  Log Message:
  ---
  Allow spending from the waddrmgr.ImportedAddrAccount via wallet.SpendPairs.

Previously, when creating a change address during the process of
creating a new transaction an error case would be hit in the waddrmgr
triggered by attempting to derive a new internal address from under a
waddrmgr.ImportedAddrAccount. To remedy this error, we now use the
default account for change when spending outputs from an imported
key. This approach allows funds under the control of imported
private keys to be protected under the wallet's seed as soon as
they've been partially spent.




[btcsuite/btcd] 73d353: peer: Consolidate Connect, Disconnect, Start, Shut...

2016-02-06 Thread Jonathan Gillham
  Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 73d353247c2e3ccff1fbe725bdc3580450ea12ac
  
https://github.com/btcsuite/btcd/commit/73d353247c2e3ccff1fbe725bdc3580450ea12ac
  Author: Jonathan Gillham 
  Date:   2016-02-06 (Sat, 06 Feb 2016)

  Changed paths:
M peer/doc.go
M peer/example_test.go
M peer/peer.go
M peer/peer_test.go
M server.go

  Log Message:
  ---
  peer: Consolidate Connect, Disconnect, Start, Shutdown public methods.

This commit does not change functionality. It makes the creation of inbound and 
outbound peers more homogeneous. As a result the Start method of peer was 
removed as it was found not to be necessary. This is the first of several pull 
requests/commits designed to make the peer public API and internals less 
complex.