Update comments to fix typos and use proper form.

This commit is contained in:
Dave Collins 2013-07-27 16:18:13 -05:00
parent bfbc08beed
commit d6752d8f99
4 changed files with 6 additions and 6 deletions

View file

@ -114,7 +114,7 @@ func (msg *MsgHeaders) MaxPayloadLength(pver uint32) uint32 {
return maxVarIntPayload + (maxBlockHeaderPayload * MaxBlockHeadersPerMsg)
}
// NewMsgGetHeaders returns a new bitcoin headers message that conforms to the
// NewMsgHeaders returns a new bitcoin headers message that conforms to the
// Message interface. See MsgHeaders for details.
func NewMsgHeaders() *MsgHeaders {
return &MsgHeaders{}

View file

@ -53,7 +53,7 @@ func (msg *MsgMemPool) MaxPayloadLength(pver uint32) uint32 {
return 0
}
// NewMsgPong returns a new bitcoin pong message that conforms to the Message
// NewMsgMemPool returns a new bitcoin pong message that conforms to the Message
// interface. See MsgPong for details.
func NewMsgMemPool() *MsgMemPool {
return &MsgMemPool{}

View file

@ -13,7 +13,7 @@ import (
// of a transaction input can be.
const MaxTxInSequenceNum uint32 = 0xffffffff
// Outpoint defines a bitcoin data type that is used to track previous
// OutPoint defines a bitcoin data type that is used to track previous
// transaction outputs.
type OutPoint struct {
Hash ShaHash

View file

@ -83,12 +83,12 @@ type BitcoinNet uint32
// this package does not provide that functionality since it's generally a
// better idea to simply disconnect clients that are misbehaving over TCP.
const (
// Main bitcoin network.
// MainNet represents the main bitcoin network.
MainNet BitcoinNet = 0xd9b4bef9
// Regression test network.
// TestNet represents the regression test network.
TestNet BitcoinNet = 0xdab5bffa
// Test network version 3.
// TestNet3 represents the test network (version 3).
TestNet3 BitcoinNet = 0x0709110b
)