Fix a comment typo and comment outputBufferSize.
This commit is contained in:
parent
e4577ab5f4
commit
69efe46eb5
2 changed files with 2 additions and 1 deletions
1
peer.go
1
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue