Fix a comment typo and comment outputBufferSize.

This commit is contained in:
Dave Collins 2013-09-12 12:11:22 -05:00
parent e4577ab5f4
commit 69efe46eb5
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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