aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2019-06-11 18:45:33 +0800
committerGitHub <noreply@github.com>2019-06-11 18:45:33 +0800
commitc420dcb39c342842f6c115376774c79162465c64 (patch)
tree5eeedb21d108132a16513bdd7bac5916b8124b7a /cmd/utils/flags.go
parentc0a034ec899655e6014a2c84f73e0c625bbd87d0 (diff)
downloadgo-tangerine-c420dcb39c342842f6c115376774c79162465c64.tar
go-tangerine-c420dcb39c342842f6c115376774c79162465c64.tar.gz
go-tangerine-c420dcb39c342842f6c115376774c79162465c64.tar.bz2
go-tangerine-c420dcb39c342842f6c115376774c79162465c64.tar.lz
go-tangerine-c420dcb39c342842f6c115376774c79162465c64.tar.xz
go-tangerine-c420dcb39c342842f6c115376774c79162465c64.tar.zst
go-tangerine-c420dcb39c342842f6c115376774c79162465c64.zip
p2p: enforce connection retry limit on server side (#19684)
The dialer limits itself to one attempt every 30s. Apply the same limit in Server and reject peers which try to connect too eagerly. The check against the limit happens right after accepting the connection. Further changes in this commit ensure we pass the Server logger down to Peer instances, discovery and dialState. Unit test logging now works in all Server tests.
Diffstat (limited to 'cmd/utils/flags.go')
0 files changed, 0 insertions, 0 deletions