• Felix Lange's avatar
    p2p/nat: delay auto discovery until first use · f5c432bc
    Felix Lange authored
    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.
    f5c432bc
Name
Last commit
Last update
..
discover Loading commit data...
nat Loading commit data...
dial.go Loading commit data...
dial_test.go Loading commit data...
message.go Loading commit data...
message_test.go Loading commit data...
metrics.go Loading commit data...
peer.go Loading commit data...
peer_error.go Loading commit data...
peer_test.go Loading commit data...
protocol.go Loading commit data...
rlpx.go Loading commit data...
rlpx_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...