OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f11c6
)
merge with prod (#1598)
author
Paladz
<yzhu101@uottawa.ca>
Thu, 28 Feb 2019 03:36:24 +0000
(11:36 +0800)
committer
GitHub
<noreply@github.com>
Thu, 28 Feb 2019 03:36:24 +0000
(11:36 +0800)
p2p/switch.go
patch
|
blob
|
history
diff --git
a/p2p/switch.go
b/p2p/switch.go
index
62bb71d
..
f9dddbf
100644
(file)
--- a/
p2p/switch.go
+++ b/
p2p/switch.go
@@
-24,9
+24,10
@@
import (
)
const (
- bannedPeerKey = "BannedPeer"
- defaultBanDuration = time.Hour * 1
- logModule = "p2p"
+ bannedPeerKey = "BannedPeer"
+ defaultBanDuration = time.Hour * 1
+ logModule = "p2p"
+
minNumOutboundPeers = 5
)