Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwire
  Commit: 4deb922c9d23d6167ec0d51b00e99a9fd020d09a
      
https://github.com/conformal/btcwire/commit/4deb922c9d23d6167ec0d51b00e99a9fd020d09a
  Author: Dave Collins <[email protected]>
  Date:   2014-07-14 (Mon, 14 Jul 2014)

  Changed paths:
    M message.go
    M msgaddr.go
    M msgalert.go
    M msgblock.go
    M msgfilteradd.go
    M msgfilterclear.go
    M msgfilterload.go
    M msggetaddr.go
    M msggetblocks.go
    M msggetdata.go
    M msggetheaders.go
    M msgheaders.go
    M msginv.go
    M msgmempool.go
    M msgmerkleblock.go
    M msgnotfound.go
    M msgping.go
    M msgpong.go
    M msgreject.go
    M msgtx.go
    M msgverack.go
    M msgversion.go

  Log Message:
  -----------
  Export command constants.

Although it is possible to get the command name for each msg type by
creating an instances of the type and calling the Command method against
it, it's slightly more efficient to simply allows callers to have direct
access to the exported constants.

This is currently really useful for the reject message since callers need
to be able to examine the command type to determine whether or not the
hash field needs to be included.


Reply via email to