diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-19 20:44:35 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-04 16:12:23 +0200 |
commit | 19b6958cfd5c5207ffe8259ef48ebbd24ca89725 (patch) | |
tree | 454edd591d114938e4f7d19b972bde3b00e609c1 /src/net.h | |
parent | 39857190dee3ed296112cfcfd79b0a375143b6c6 (diff) |
Added -externalip and -discover
-externalip=<ip> can be used to explicitly set the public IP address
of your node. -discover=0 can be used to disable the automatic public
IP discovery system.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -49,6 +49,9 @@ enum LOCAL_UPNP, LOCAL_IRC, LOCAL_HTTP, + LOCAL_MANUAL, + + LOCAL_MAX }; bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE); |