Branch: refs/heads/master
Home: https://github.com/conformal/btcwallet
Commit: 248ea9c08f9e2e907e7a6b5647b73d37c8249ad7
https://github.com/conformal/btcwallet/commit/248ea9c08f9e2e907e7a6b5647b73d37c8249ad7
Author: Josh Rickmar <[email protected]>
Date: 2014-07-30 (Wed, 30 Jul 2014)
Changed paths:
M chain/chain.go
M chainntfns.go
M rpcserver.go
M wallet.go
Log Message:
-----------
Send btcdconnected notifications without a wallet.
The notified chain server connection state was being passed through
the wallet and then notified to the RPC server, which prevented this
notification from ever firing if a wallet didn't exist yet. Instead,
make the RPC server register for these notifications directly from the
chain server RPC client.
I'm not happy with this notification and how it's handled in the code,
but to not break existing clients this change is being made. Fixing
the notifiation mess and modifying existing clients to use a new
notification API will need to be done sometime later.