Permalink
Browse files

Update Port Numbers

  • Loading branch information...
HowToCloneAnAltcoin
HowToCloneAnAltcoin committed Nov 5, 2014
1 parent 7b6a2ad commit 7f149b069f77b3e174ca8a7b10b98287c3e663a9
Showing with 192 additions and 192 deletions.
  1. +2 −2 contrib/bitrpc/bitrpc.py
  2. +3 −3 contrib/debian/examples/bitcoin.conf
  3. +2 −2 contrib/debian/manpages/bitcoin-qt.1
  4. +3 −3 contrib/debian/manpages/bitcoin.conf.5
  5. +1 −1 contrib/pyminer/example-config.cfg
  6. +1 −1 contrib/pyminer/pyminer.py
  7. +1 −1 contrib/seeds/makeseeds.py
  8. +1 −1 contrib/spendfrom/spendfrom.py
  9. +1 −1 contrib/wallettools/walletchangepass.py
  10. +1 −1 contrib/wallettools/walletunlock.py
  11. +3 −3 doc/Tor.txt
  12. +1 −1 src/bitcoinrpc.cpp
  13. +2 −2 src/init.cpp
  14. +1 −1 src/protocol.h
  15. +2 −2 src/qt/bitcoinstrings.cpp
  16. +1 −1 src/qt/locale/bitcoin_af_ZA.ts
  17. +2 −2 src/qt/locale/bitcoin_ar.ts
  18. +2 −2 src/qt/locale/bitcoin_bg.ts
  19. +2 −2 src/qt/locale/bitcoin_bs.ts
  20. +2 −2 src/qt/locale/bitcoin_ca.ts
  21. +4 −4 src/qt/locale/bitcoin_ca_ES.ts
  22. +4 −4 src/qt/locale/bitcoin_cs.ts
  23. +2 −2 src/qt/locale/bitcoin_cy.ts
  24. +4 −4 src/qt/locale/bitcoin_da.ts
  25. +4 −4 src/qt/locale/bitcoin_de.ts
  26. +4 −4 src/qt/locale/bitcoin_el_GR.ts
  27. +4 −4 src/qt/locale/bitcoin_en.ts
  28. +2 −2 src/qt/locale/bitcoin_eo.ts
  29. +4 −4 src/qt/locale/bitcoin_es.ts
  30. +4 −4 src/qt/locale/bitcoin_es_CL.ts
  31. +4 −4 src/qt/locale/bitcoin_et.ts
  32. +2 −2 src/qt/locale/bitcoin_eu_ES.ts
  33. +4 −4 src/qt/locale/bitcoin_fa.ts
  34. +4 −4 src/qt/locale/bitcoin_fa_IR.ts
  35. +4 −4 src/qt/locale/bitcoin_fi.ts
  36. +4 −4 src/qt/locale/bitcoin_fr.ts
  37. +2 −2 src/qt/locale/bitcoin_fr_CA.ts
  38. +2 −2 src/qt/locale/bitcoin_gu_IN.ts
  39. +4 −4 src/qt/locale/bitcoin_he.ts
  40. +2 −2 src/qt/locale/bitcoin_hi_IN.ts
  41. +4 −4 src/qt/locale/bitcoin_hr.ts
  42. +4 −4 src/qt/locale/bitcoin_hu.ts
  43. +4 −4 src/qt/locale/bitcoin_it.ts
  44. +2 −2 src/qt/locale/bitcoin_ja.ts
  45. +4 −4 src/qt/locale/bitcoin_la.ts
  46. +4 −4 src/qt/locale/bitcoin_lt.ts
  47. +3 −3 src/qt/locale/bitcoin_lv_LV.ts
  48. +4 −4 src/qt/locale/bitcoin_nb.ts
  49. +4 −4 src/qt/locale/bitcoin_nl.ts
  50. +4 −4 src/qt/locale/bitcoin_pl.ts
  51. +4 −4 src/qt/locale/bitcoin_pt_BR.ts
  52. +4 −4 src/qt/locale/bitcoin_pt_PT.ts
  53. +3 −3 src/qt/locale/bitcoin_ro_RO.ts
  54. +4 −4 src/qt/locale/bitcoin_ru.ts
  55. +4 −4 src/qt/locale/bitcoin_sk.ts
  56. +3 −3 src/qt/locale/bitcoin_sr.ts
  57. +4 −4 src/qt/locale/bitcoin_sv.ts
  58. +2 −2 src/qt/locale/bitcoin_th_TH.ts
  59. +4 −4 src/qt/locale/bitcoin_tr.ts
  60. +4 −4 src/qt/locale/bitcoin_uk.ts
  61. +4 −4 src/qt/locale/bitcoin_zh_CN.ts
  62. +4 −4 src/qt/locale/bitcoin_zh_TW.ts
  63. +9 −9 src/test/netbase_tests.cpp
View
@@ -10,9 +10,9 @@
if rpcpass == "":
access = ServiceProxy("http://127.0.0.1:9332")
access = ServiceProxy("http://127.0.0.1:10332")
else:
access = ServiceProxy("http://"+rpcuser+":"+rpcpass+"@127.0.0.1:9332")
access = ServiceProxy("http://"+rpcuser+":"+rpcpass+"@127.0.0.1:10332")
cmd = sys.argv[1].lower()
if cmd == "backupwallet":
@@ -11,12 +11,12 @@
# Use as many addnode= settings as you like to connect to specific peers
#addnode=69.164.218.197
#addnode=10.0.0.2:9333
#addnode=10.0.0.2:10333
# ... or use as many connect= settings as you like to connect ONLY
# to specific peers:
#connect=69.164.218.197
#connect=10.0.0.1:9333
#connect=10.0.0.1:10333
# Maximum number of inbound+outbound connections.
#maxconnections=
@@ -38,7 +38,7 @@
#rpcallowip=192.168.1.*
# Listen for RPC connections on this TCP port:
rpcport=9332
rpcport=10332
# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind
# running on another host using this option:
@@ -44,7 +44,7 @@ Use proxy to reach tor hidden services (default: same as \fB\-proxy\fR)
Allow DNS lookups for \fB\-addnode\fR, \fB\-seednode\fR and \fB\-connect\fR
.TP
\fB\-port=\fR<port>
Listen for connections on <port> (default: 9333 or testnet: 19333)
Listen for connections on <port> (default: 10333 or testnet: 11333)
.TP
\fB\-maxconnections=\fR<n>
Maintain at most <n> connections to peers (default: 125)
@@ -125,7 +125,7 @@ Username for JSON\-RPC connections
Password for JSON\-RPC connections
.TP
\fB\-rpcport=\fR<port>
Listen for JSON\-RPC connections on <port> (default: 9332 or testnet: 19332)
Listen for JSON\-RPC connections on <port> (default: 10332 or testnet: 11332)
.TP
\fB\-rpcallowip=\fR<ip>
Allow JSON\-RPC connections from specified IP address
@@ -18,10 +18,10 @@ Enable or disable run on the test network instead of the real *bitcoin* network.
\fBproxy=\fR\fI'127.0.0.1:9050'\fR
Connect via a socks4 proxy.
.TP
\fBaddnode=\fR\fI'10.0.0.2:9333'\fR
\fBaddnode=\fR\fI'10.0.0.2:10333'\fR
Use as many *addnode=* settings as you like to connect to specific peers.
.TP
\fBconnect=\fR\fI'10.0.0.1:9333'\fR
\fBconnect=\fR\fI'10.0.0.1:10333'\fR
Use as many *connect=* settings as you like to connect ONLY to specific peers.
.TP
\fRmaxconnections=\fR\fI'value'\fR
@@ -43,7 +43,7 @@ How many seconds *bitcoin* will wait for a complete RPC HTTP request, after the
\fBrpcallowip=\fR\fI'192.168.1.*'\fR
By default, only RPC connections from localhost are allowed. Specify as many *rpcallowip=* settings as you like to allow connections from other hosts (and you may use * as a wildcard character).
.TP
\fBrpcport=\fR\fI'9332'\fR
\fBrpcport=\fR\fI'10332'\fR
Listen for RPC connections on this TCP port.
.TP
\fBrpcconnect=\fR\fI'127.0.0.1'\fR
@@ -3,7 +3,7 @@
# RPC login details
#
host=127.0.0.1
port=9332
port=10332
rpcuser=myusername
rpcpass=mypass
@@ -217,7 +217,7 @@ def miner_thread(id):
if 'host' not in settings:
settings['host'] = '127.0.0.1'
if 'port' not in settings:
settings['port'] = 9332
settings['port'] = 10332
if 'threads' not in settings:
settings['threads'] = 1
if 'hashmeter' not in settings:
@@ -13,7 +13,7 @@ def main():
lines = sys.stdin.readlines()
ips = []
pattern = re.compile(r"^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3}):9333")
pattern = re.compile(r"^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3}):10333")
for line in lines:
m = pattern.match(line)
if m is None:
@@ -67,7 +67,7 @@ def connect_JSON(config):
testnet = config.get('testnet', '0')
testnet = (int(testnet) > 0) # 0/1 in config file, convert to True/False
if not 'rpcport' in config:
config['rpcport'] = 19332 if testnet else 9332
config['rpcport'] = 11332 if testnet else 10332
connect = "http://%s:%s@127.0.0.1:%s"%(config['rpcuser'], config['rpcpassword'], config['rpcport'])
try:
result = ServiceProxy(connect)
@@ -1,5 +1,5 @@
from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:9332")
access = ServiceProxy("http://127.0.0.1:10332")
pwd = raw_input("Enter old wallet passphrase: ")
pwd2 = raw_input("Enter new wallet passphrase: ")
access.walletpassphrasechange(pwd, pwd2)
@@ -1,4 +1,4 @@
from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:9332")
access = ServiceProxy("http://127.0.0.1:10332")
pwd = raw_input("Enter wallet passphrase: ")
access.walletpassphrase(pwd, 60)
View
@@ -50,10 +50,10 @@ reachable from the Tor network. Add these lines to your /etc/tor/torrc (or equiv
config file):
HiddenServiceDir /var/lib/tor/clonecoin-service/
HiddenServicePort 9333 127.0.0.1:9333
HiddenServicePort 10333 127.0.0.1:10333
The directory can be different of course, but (both) port numbers should be equal to
your clonecoind's P2P listen port (9333 by default).
your clonecoind's P2P listen port (10333 by default).
-externalip=X You can tell clonecoin about its publicly reachable address using
this option, and this can be a .onion address. Given the above
@@ -83,7 +83,7 @@ specify:
./clonecoind ... -discover
and open port 9333 on your firewall (or use -upnp).
and open port 10333 on your firewall (or use -upnp).
If you only want to use Tor to reach onion addresses, but not use it as a proxy
for normal IPv4/IPv6 communication, use:
View
@@ -39,7 +39,7 @@ static boost::thread_group* rpc_worker_group = NULL;
static inline unsigned short GetDefaultRPCPort()
{
return GetBoolArg("-testnet", false) ? 19332 : 9332;
return GetBoolArg("-testnet", false) ? 11332 : 10332;
}
Object JSONRPCError(int code, const string& message)
View
@@ -307,7 +307,7 @@ std::string HelpMessage()
" -socks=<n> " + _("Select the version of socks proxy to use (4-5, default: 5)") + "\n" +
" -tor=<ip:port> " + _("Use proxy to reach tor hidden services (default: same as -proxy)") + "\n"
" -dns " + _("Allow DNS lookups for -addnode, -seednode and -connect") + "\n" +
" -port=<port> " + _("Listen for connections on <port> (default: 9333 or testnet: 19333)") + "\n" +
" -port=<port> " + _("Listen for connections on <port> (default: 10333 or testnet: 11333)") + "\n" +
" -maxconnections=<n> " + _("Maintain at most <n> connections to peers (default: 125)") + "\n" +
" -addnode=<ip> " + _("Add a node to connect to and attempt to keep the connection open") + "\n" +
" -connect=<ip> " + _("Connect only to the specified node(s)") + "\n" +
@@ -350,7 +350,7 @@ std::string HelpMessage()
#endif
" -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n" +
" -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n" +
" -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 9332 or testnet: 19332)") + "\n" +
" -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 10332 or testnet: 11332)") + "\n" +
" -rpcallowip=<ip> " + _("Allow JSON-RPC connections from specified IP address") + "\n" +
#ifndef QT_GUI
" -rpcconnect=<ip> " + _("Send commands to node running on <ip> (default: 127.0.0.1)") + "\n" +
View
@@ -18,7 +18,7 @@
extern bool fTestNet;
static inline unsigned short GetDefaultPort(const bool testnet = fTestNet)
{
return testnet ? 19333 : 9333;
return testnet ? 11333 : 10333;
}
@@ -49,7 +49,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", ""
"Execute command when the best block changes (%s in cmd is replaced by block "
"hash)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Listen for JSON-RPC connections on <port> (default: 9332 or testnet: 19332)"),
"Listen for JSON-RPC connections on <port> (default: 10332 or testnet: 11332)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Number of seconds to keep misbehaving peers from reconnecting (default: "
"86400)"),
@@ -142,7 +142,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount for -mintxfee=<amount>: '%s'")
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount for -paytxfee=<amount>: '%s'"),
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount"),
QT_TRANSLATE_NOOP("bitcoin-core", "List commands"),
QT_TRANSLATE_NOOP("bitcoin-core", "Listen for connections on <port> (default: 9333 or testnet: 19333)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Listen for connections on <port> (default: 10333 or testnet: 11333)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Loading addresses..."),
QT_TRANSLATE_NOOP("bitcoin-core", "Loading block index..."),
QT_TRANSLATE_NOOP("bitcoin-core", "Loading wallet..."),
@@ -2228,7 +2228,7 @@ Address: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2228,7 +2228,7 @@ Address: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2263,7 +2263,7 @@ Address: %4
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2233,7 +2233,7 @@ Address: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2268,7 +2268,7 @@ Address: %4
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2228,7 +2228,7 @@ Address: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2263,7 +2263,7 @@ Address: %4
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2228,7 +2228,7 @@ Address: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2263,7 +2263,7 @@ Address: %4
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2228,8 +2228,8 @@ Address: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<translation>Escoltar connexions a &lt;port&gt; (per defecte: 9333 o testnet: 19333)</translation>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation>Escoltar connexions a &lt;port&gt; (per defecte: 10333 o testnet: 11333)</translation>
</message>
<message>
<location line="+5"/>
@@ -2263,8 +2263,8 @@ Address: %4
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<translation>Escoltar connexions JSON-RPC al port &lt;port&gt; (per defecte: 9332 o testnet:19332)</translation>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation>Escoltar connexions JSON-RPC al port &lt;port&gt; (per defecte: 10332 o testnet:11332)</translation>
</message>
<message>
<location line="+37"/>
@@ -2237,8 +2237,8 @@ Adresa: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<translation>Čekat na spojení na &lt;portu&gt; (výchozí: 9333 nebo testnet: 19333)</translation>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation>Čekat na spojení na &lt;portu&gt; (výchozí: 10333 nebo testnet: 11333)</translation>
</message>
<message>
<location line="+5"/>
@@ -2272,8 +2272,8 @@ Adresa: %4
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<translation>Čekat na JSON RPC spojení na &lt;portu&gt; (výchozí: 9332 nebo testnet: 19332)</translation>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation>Čekat na JSON RPC spojení na &lt;portu&gt; (výchozí: 10332 nebo testnet: 11332)</translation>
</message>
<message>
<location line="+37"/>
@@ -2228,7 +2228,7 @@ Address: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2263,7 +2263,7 @@ Address: %4
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation type="unfinished"/>
</message>
<message>
@@ -2237,8 +2237,8 @@ Adresse: %4
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<translation>Lyt til forbindelser på &lt;port&gt; (standard: 9333 eller testnetværk: 19333)</translation>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation>Lyt til forbindelser på &lt;port&gt; (standard: 10333 eller testnetværk: 11333)</translation>
</message>
<message>
<location line="+5"/>
@@ -2272,8 +2272,8 @@ Adresse: %4
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<translation>Lyt til JSON-RPC-forbindelser på &lt;port&gt; (standard: 9332 eller testnetværk: 19332)</translation>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation>Lyt til JSON-RPC-forbindelser på &lt;port&gt; (standard: 10332 eller testnetværk: 11332)</translation>
</message>
<message>
<location line="+37"/>
@@ -2236,8 +2236,8 @@ Adresse: %4</translation>
</message>
<message>
<location line="-28"/>
<source>Listen for connections on &lt;port&gt; (default: 9333 or testnet: 19333)</source>
<translation>&lt;port&gt; nach Verbindungen abhören (Standard: 9333 oder Testnetz: 19333)</translation>
<source>Listen for connections on &lt;port&gt; (default: 10333 or testnet: 11333)</source>
<translation>&lt;port&gt; nach Verbindungen abhören (Standard: 10333 oder Testnetz: 11333)</translation>
</message>
<message>
<location line="+5"/>
@@ -2271,8 +2271,8 @@ Adresse: %4</translation>
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 9332 or testnet: 19332)</source>
<translation>&lt;port&gt; nach JSON-RPC-Verbindungen abhören (Standard: 9332 oder Testnetz: 19332)</translation>
<source>Listen for JSON-RPC connections on &lt;port&gt; (default: 10332 or testnet: 11332)</source>
<translation>&lt;port&gt; nach JSON-RPC-Verbindungen abhören (Standard: 10332 oder Testnetz: 11332)</translation>
</message>
<message>
<location line="+37"/>
Oops, something went wrong.

0 comments on commit 7f149b0

Please sign in to comment.