Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: be26855266d91eb7c398dcc5cee8452d3292c369
      
https://github.com/conformal/btcwallet/commit/be26855266d91eb7c398dcc5cee8452d3292c369
  Author: Josh Rickmar <[email protected]>
  Date:   2013-11-12 (Tue, 12 Nov 2013)

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

  Log Message:
  -----------
  Clean up replying to frontend commands.

This change moves the handlers to a map (instead of falling through a
switch statement), and updates each handler to use a btcjson.Cmd
instead of passing parameters in a btcjson.Message manually.

Plenty of comments were also added, which should also make the code
much more understandable.



Reply via email to