aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/monitorcmd.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-09-06 06:26:54 +0800
committerFelix Lange <fjl@twurst.com>2016-09-16 17:06:52 +0800
commitf5c432bcab70ddc818db90ae410e07e6253585af (patch)
tree227e4ae78deeefb5b1060e0a28b0998f18128c02 /cmd/geth/monitorcmd.go
parent7c12e8ea44129a5f9caa4d5ca9168c059436bb39 (diff)
downloadgo-tangerine-f5c432bcab70ddc818db90ae410e07e6253585af.tar.gz
go-tangerine-f5c432bcab70ddc818db90ae410e07e6253585af.tar.zst
go-tangerine-f5c432bcab70ddc818db90ae410e07e6253585af.zip
p2p/nat: delay auto discovery until first use
Port mapper auto discovery used to run immediately after parsing the --nat flag, giving it a slight performance boost. But this is becoming inconvenient because we create node.Node for all geth operations including account management and bare chain interaction. Delay autodiscovery until the first use instead, which avoids any network interaction until the node is actually started.
Diffstat (limited to 'cmd/geth/monitorcmd.go')
0 files changed, 0 insertions, 0 deletions