From 69efe46eb5ebafbb67b332b53612cc2219e66e39 Mon Sep 17 00:00:00 2001 From: Dave Collins <davec@conformal.com> Date: Thu, 12 Sep 2013 12:11:22 -0500 Subject: [PATCH] Fix a comment typo and comment outputBufferSize. --- peer.go | 1 + server.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/peer.go b/peer.go index 4edf10df..9e22105e 100644 --- a/peer.go +++ b/peer.go @@ -22,6 +22,7 @@ import ( ) const ( + // outputBufferSize is the number of elements the output channels use. outputBufferSize = 50 // invTrickleSize is the maximum amount of inventory to send in a single diff --git a/server.go b/server.go index fbad5b84..12cfbdad 100644 --- a/server.go +++ b/server.go @@ -144,7 +144,7 @@ func (s *server) handleBanPeerMsg(banned map[string]time.Time, p *peer) { } -// handleRelayInvMsg deals with relaying inventory to peer that are not already +// handleRelayInvMsg deals with relaying inventory to peers that are not already // known to have it. It is invoked from the peerHandler goroutine. func (s *server) handleRelayInvMsg(peers *list.List, iv *btcwire.InvVect) { // TODO(davec): Don't relay inventory during the initial block chain