Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: 540cbb093094419e4ef73e31fb58e977cdebc9d4
      
https://github.com/conformal/btcwallet/commit/540cbb093094419e4ef73e31fb58e977cdebc9d4
  Author: Josh Rickmar <[email protected]>
  Date:   2013-10-28 (Mon, 28 Oct 2013)

  Changed paths:
    M cmd.go
    M cmdmgr.go
    M sockets.go

  Log Message:
  -----------
  Greatly simplify design.

This change removes a lot of unnecessary and complicated locking (if
serializing requests is needed in the future, a goroutine will be used
instead) and also shifts the heavy lifting from frontends to btcwallet
itself to handle any notifications when they can be properly handled.
Although it's still legal to, frontends no longer need to explicitly
request account balances as these are calculated and sent as an async
notification on frontend connect, and these notifications will only
occur if btcd is currently connected.  Likewise, when btcd connects,
all frontends are immediately notified of all notifications that
require btcd information, such as the current block height for
calculating account balances.



Reply via email to