From d6752d8f997b6cb27fdfb3cf332c59f11a4d1a03 Mon Sep 17 00:00:00 2001
From: Dave Collins <davec@conformal.com>
Date: Sat, 27 Jul 2013 16:18:13 -0500
Subject: [PATCH] Update comments to fix typos and use proper form.

---
 msgheaders.go | 2 +-
 msgmempool.go | 2 +-
 msgtx.go      | 2 +-
 protocol.go   | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/msgheaders.go b/msgheaders.go
index c507a90b..3aa5d160 100644
--- a/msgheaders.go
+++ b/msgheaders.go
@@ -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{}
diff --git a/msgmempool.go b/msgmempool.go
index b816d9f0..9a75f839 100644
--- a/msgmempool.go
+++ b/msgmempool.go
@@ -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{}
diff --git a/msgtx.go b/msgtx.go
index bda97f9d..a8181e74 100644
--- a/msgtx.go
+++ b/msgtx.go
@@ -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
diff --git a/protocol.go b/protocol.go
index b005d371..2d4d9e2b 100644
--- a/protocol.go
+++ b/protocol.go
@@ -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
 )