mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Fix a comment typo and comment outputBufferSize.
This commit is contained in:
parent
e4577ab5f4
commit
69efe46eb5
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…
x
Reference in New Issue
Block a user