aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-02-19 20:44:35 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-05-04 16:12:23 +0200
commit19b6958cfd5c5207ffe8259ef48ebbd24ca89725 (patch)
tree454edd591d114938e4f7d19b972bde3b00e609c1 /src/net.h
parent39857190dee3ed296112cfcfd79b0a375143b6c6 (diff)
downloadbitcoin-19b6958cfd5c5207ffe8259ef48ebbd24ca89725.tar.xz
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 239971e2ca..a00dd1b8cc 100644
--- a/src/net.h
+++ b/src/net.h
@@ -49,6 +49,9 @@ enum
LOCAL_UPNP,
LOCAL_IRC,
LOCAL_HTTP,
+ LOCAL_MANUAL,
+
+ LOCAL_MAX
};
bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE);