Skip to content

Commit

Permalink
Change port refs
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Mar 28, 2023
1 parent 0f9206d commit 9854c16
Show file tree
Hide file tree
Showing 18 changed files with 48 additions and 48 deletions.
4 changes: 2 additions & 2 deletions contrib/debian/examples/dogecash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@

# Use as many addnode= settings as you like to connect to specific peers
#addnode=69.164.218.197
#addnode=10.0.0.2:51472
#addnode=10.0.0.2:56740

# Alternatively use as many connect= settings as you like to connect ONLY to specific peers
#connect=69.164.218.197
#connect=10.0.0.1:51472
#connect=10.0.0.1:56740

# Listening mode, enabled by default except when 'connect' is being used
#listen=1
Expand Down
2 changes: 1 addition & 1 deletion contrib/qos/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Qos ###

This is a Linux bash script that will set up tc to limit the outgoing bandwidth for connections to the Bitcoin network. It limits outbound TCP traffic with a source or destination port of 51472, but not if the destination IP is within a LAN (defined as 192.168.x.x).
This is a Linux bash script that will set up tc to limit the outgoing bandwidth for connections to the Bitcoin network. It limits outbound TCP traffic with a source or destination port of 56740, but not if the destination IP is within a LAN (defined as 192.168.x.x).

This means one can have an always-on dogecashd instance running, and another local dogecashd/dogecash-qt instance which connects to this node and receives blocks from it.
6 changes: 3 additions & 3 deletions contrib/qos/tc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ tc filter add dev ${IF} parent 1: protocol ip prio 2 handle 2 fw classid 1:11
# ret=$?
#done

#limit outgoing traffic to and from port 51472. but not when dealing with a host on the local network
#limit outgoing traffic to and from port 56740. but not when dealing with a host on the local network
# (defined by $LOCALNET)
# --set-mark marks packages matching these criteria with the number "2"
# these packages are filtered by the tc filter with "handle 2"
# this filter sends the packages into the 1:11 class, and this class is limited to ${LIMIT}
iptables -t mangle -A OUTPUT -p tcp -m tcp --dport 51472 ! -d ${LOCALNET} -j MARK --set-mark 0x2
iptables -t mangle -A OUTPUT -p tcp -m tcp --sport 51472 ! -d ${LOCALNET} -j MARK --set-mark 0x2
iptables -t mangle -A OUTPUT -p tcp -m tcp --dport 56740 ! -d ${LOCALNET} -j MARK --set-mark 0x2
iptables -t mangle -A OUTPUT -p tcp -m tcp --sport 56740 ! -d ${LOCALNET} -j MARK --set-mark 0x2
4 changes: 2 additions & 2 deletions doc/man/dogecash-qt.1
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Support filtering of blocks and transaction with bloom filters (default:
.HP
\fB\-port=\fR<port>
.IP
Listen for connections on <port> (default: 51472 or testnet: 51474)
Listen for connections on <port> (default: 56740 or testnet: 51474)
.HP
\fB\-proxy=\fR<ip:port>
.IP
Expand Down Expand Up @@ -477,7 +477,7 @@ Set the masternode private key
\fB\-masternodeaddr=\fR<n>
.IP
Set external address:port to get to this masternode (example:
128.127.106.235:51472)
128.127.106.235:56740)
.HP
\fB\-budgetvotemode=\fR<mode>
.IP
Expand Down
4 changes: 2 additions & 2 deletions doc/man/dogecashd.1
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Support filtering of blocks and transaction with bloom filters (default:
.HP
\fB\-port=\fR<port>
.IP
Listen for connections on <port> (default: 51472 or testnet: 51474)
Listen for connections on <port> (default: 56740 or testnet: 51474)
.HP
\fB\-proxy=\fR<ip:port>
.IP
Expand Down Expand Up @@ -474,7 +474,7 @@ Set the masternode private key
\fB\-masternodeaddr=\fR<n>
.IP
Set external address:port to get to this masternode (example:
128.127.106.235:51472)
128.127.106.235:56740)
.HP
\fB\-budgetvotemode=\fR<mode>
.IP
Expand Down
8 changes: 4 additions & 4 deletions doc/tor.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ You can also manually configure your node to be reachable from the Tor network.
Add these lines to your `/etc/tor/torrc` (or equivalent config file):

HiddenServiceDir /var/lib/tor/dogecash-service/
HiddenServicePort 51472 127.0.0.1:51472
HiddenServicePort 56740 127.0.0.1:56740

The directory can be different of course, but virtual port numbers should be equal to
your dogecashd's P2P listen port (51472 by default), and target addresses and ports
should be equal to binding address and port for inbound Tor connections (127.0.0.1:51472 by default).
your dogecashd's P2P listen port (56740 by default), and target addresses and ports
should be equal to binding address and port for inbound Tor connections (127.0.0.1:56740 by default).

-externalip=X You can tell dogecash about its publicly reachable addresses using
this option, and this can be an onion address. Given the above
Expand Down Expand Up @@ -209,7 +209,7 @@ as well, use `discover` instead:

./dogecashd ... -discover

and open port 51472 on your firewall (or use port mapping, i.e., `-upnp` or `-natpmp`).
and open port 56740 on your firewall (or use port mapping, i.e., `-upnp` or `-natpmp`).

If you only want to use Tor to reach .onion addresses, but not use it as a proxy
for normal IPv4/IPv6 communication, use:
Expand Down
4 changes: 2 additions & 2 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class CMainParams : public CChainParams
consensus.ZC_MinMintFee = 1 * CENT;
consensus.ZC_MinStakeDepth = 200;
consensus.ZC_TimeStart = 1554491934; // October 17, 2017 4:30:00 AM
consensus.ZC_HeightStart = 863735;
consensus.ZC_HeightStart = 1;

// Network upgrades
consensus.vUpgrades[Consensus::BASE_NETWORK].nActivationHeight =
Expand All @@ -315,7 +315,7 @@ class CMainParams : public CChainParams
Consensus::NetworkUpgrade::NO_ACTIVATION_HEIGHT;
consensus.vUpgrades[Consensus::UPGRADE_POS].nActivationHeight = 201;
consensus.vUpgrades[Consensus::UPGRADE_POS_V2].nActivationHeight = 601339;
consensus.vUpgrades[Consensus::UPGRADE_ZC].nActivationHeight = 5000;
consensus.vUpgrades[Consensus::UPGRADE_ZC].nActivationHeight = 1;
consensus.vUpgrades[Consensus::UPGRADE_ZC_V2].nActivationHeight = 1;
consensus.vUpgrades[Consensus::UPGRADE_BIP65].nActivationHeight = 1;
consensus.vUpgrades[Consensus::UPGRADE_ZC_PUBLIC].nActivationHeight = INT_MAX;
Expand Down
6 changes: 3 additions & 3 deletions src/masternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ bool CMasternodeBroadcast::Create(const std::string& strService,
CKey keyMasternodeNew;

//need correct blocks to send ping
if ((!fOffline && !g_tiertwo_sync_state.IsBlockchainSynced()) || (chainHeight <= Params().GetConsensus().nDogeCashV55MNWindow && !sporkManager.IsSporkActive(SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT))) {
if ((!fOffline && !g_tiertwo_sync_state.IsBlockchainSynced()) || (chainHeight <= Params().GetConsensus().nDogeCashV55MNWindow && sporkManager.IsSporkActive(SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT))) {
strErrorRet = "Sync in progress. Must wait until sync is complete to start Masternode";
LogPrint(BCLog::MASTERNODE,"CMasternodeBroadcast::Create -- %s\n", strErrorRet);
return false;
Expand Down Expand Up @@ -435,8 +435,8 @@ bool CMasternodeBroadcast::CheckAndUpdate(int& nDos)
}

if (Params().NetworkIDString() == CBaseChainParams::MAIN) {
if (addr.GetPort() != 51472) return false;
} else if (addr.GetPort() == 51472)
if (addr.GetPort() != 56740) return false;
} else if (addr.GetPort() == 56740)
return false;

// incorrect ping or its sigTime
Expand Down
2 changes: 1 addition & 1 deletion src/masternodeconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ bool CMasternodeConfig::read(std::string& strErr)
if (configFile != NULL) {
std::string strHeader = "# Masternode config file\n"
"# Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index\n"
"# Example: mn1 127.0.0.2:51472 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0"
"# Example: mn1 127.0.0.2:56740 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0"
"#\n";
fwrite(strHeader.c_str(), std::strlen(strHeader.c_str()), 1, configFile);
fclose(configFile);
Expand Down
2 changes: 1 addition & 1 deletion src/qt/dogecash/masternodewizarddialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ MasterNodeWizardDialog::MasterNodeWizardDialog(WalletModel* model, MNModel* _mnM
} else if (walletModel->isTestNetwork()) {
ui->lineEditPort->setText("51474");
} else {
ui->lineEditPort->setText("51472");
ui->lineEditPort->setText("56740");
}

// Confirm icons
Expand Down
4 changes: 2 additions & 2 deletions src/qt/dogecash/mnmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ CMasternodeConfig::CMasternodeEntry* MNModel::createLegacyMN(COutPoint& collater
if (lineCopy.empty()) {
lineCopy = "# Masternode config file\n"
"# Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index\n"
"# Example: mn1 127.0.0.2:51472 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0"
"# Example: mn1 127.0.0.2:56740 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0"
"#";
}
lineCopy += "\n";
Expand Down Expand Up @@ -472,7 +472,7 @@ bool MNModel::removeLegacyMN(const std::string& alias_to_remove, const std::stri
if (lineCopy.empty()) {
lineCopy = "# Masternode config file\n"
"# Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index\n"
"# Example: mn1 127.0.0.2:51472 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0\n";
"# Example: mn1 127.0.0.2:56740 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0\n";
}

streamConfig.close();
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/masternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ UniValue initmasternode(const JSONRPCRequest& request)
" success (string) if the masternode initialization succeeded.\n"

"\nExamples:\n" +
HelpExampleCli("initmasternode", "\"9247iC59poZmqBYt9iDh9wDam6v9S1rW5XekjLGyPnDhrDkP4AK\" \"187.24.32.124:51472\"") +
HelpExampleCli("initmasternode", "\"9247iC59poZmqBYt9iDh9wDam6v9S1rW5XekjLGyPnDhrDkP4AK\" \"187.24.32.124:56740\"") +
HelpExampleRpc("initmasternode", "\"bls-sk1xye8es37kk7y2mz7mad6yz7fdygttexqwhypa0u86hzw2crqgxfqy29ajm\""));
}

Expand Down
8 changes: 4 additions & 4 deletions src/rpc/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ UniValue addnode(const JSONRPCRequest& request)
"2. \"command\" (string, required) 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once\n"

"\nExamples:\n" +
HelpExampleCli("addnode", "\"192.168.0.6:51472\" \"onetry\"") + HelpExampleRpc("addnode", "\"192.168.0.6:51472\", \"onetry\""));
HelpExampleCli("addnode", "\"192.168.0.6:56740\" \"onetry\"") + HelpExampleRpc("addnode", "\"192.168.0.6:56740\", \"onetry\""));

if(!g_connman)
throw JSONRPCError(RPC_CLIENT_P2P_DISABLED, "Error: Peer-to-peer functionality missing or disabled");
Expand Down Expand Up @@ -281,7 +281,7 @@ UniValue getaddednodeinfo(const JSONRPCRequest& request)
" \"connected\" : true|false, (boolean) If connected\n"
" \"addresses\" : [ (list of objects) Only when connected = true\n"
" {\n"
" \"address\" : \"192.168.0.201:51472\", (string) The dogecash server IP and port we're connected to\n"
" \"address\" : \"192.168.0.201:56740\", (string) The dogecash server IP and port we're connected to\n"
" \"connected\" : \"outbound\" (string) connection, inbound or outbound\n"
" }\n"
" ]\n"
Expand Down Expand Up @@ -652,8 +652,8 @@ static UniValue addpeeraddress(const JSONRPCRequest& request)
"}\n"

"\nExamples:\n"
+ HelpExampleCli("addpeeraddress", "\"1.2.3.4\" 51472")
+ HelpExampleRpc("addpeeraddress", "\"1.2.3.4\", 51472"));
+ HelpExampleCli("addpeeraddress", "\"1.2.3.4\" 56740")
+ HelpExampleRpc("addpeeraddress", "\"1.2.3.4\", 56740"));
}
if (!g_connman) {
throw JSONRPCError(RPC_CLIENT_P2P_DISABLED, "Error: Peer-to-peer functionality missing or disabled");
Expand Down
8 changes: 4 additions & 4 deletions src/rpc/rpcevo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,15 +476,15 @@ static UniValue ProTxRegister(const JSONRPCRequest& request, bool fSignAndSend)
(fSignAndSend ? (
"\"txid\" (string) The transaction id.\n"
"\nExamples:\n"
+ HelpExampleCli("protx_register", "\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\" 0 \"168.192.1.100:51472\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\"")
+ HelpExampleCli("protx_register", "\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\" 0 \"168.192.1.100:56740\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\"")
) : (
"{ (json object)\n"
" \"tx\" : (string) The serialized ProTx in hex format.\n"
" \"collateralAddress\" : (string) The collateral address.\n"
" \"signMessage\" : (string) The string message that needs to be signed with the collateral key\n"
"}\n"
"\nExamples:\n"
+ HelpExampleCli("protx_register_prepare", "\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\" 0 \"168.192.1.100:51472\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\"")
+ HelpExampleCli("protx_register_prepare", "\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\" 0 \"168.192.1.100:56740\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\"")
)
)
);
Expand Down Expand Up @@ -634,7 +634,7 @@ UniValue protx_register_fund(const JSONRPCRequest& request)
"\nResult:\n"
"\"txid\" (string) The transaction id.\n"
"\nExamples:\n"
+ HelpExampleCli("protx_register_fund", "\"DKHHBsuU9zfxxxVaqqqQqK4MxZg6vzpf8\" \"168.192.1.100:51472\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\"")
+ HelpExampleCli("protx_register_fund", "\"DKHHBsuU9zfxxxVaqqqQqK4MxZg6vzpf8\" \"168.192.1.100:56740\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\" \"DMJRSsuU9zfyrvxVaAEFQqK4MxZg6vgeS6\"")
);
}
CheckEvoUpgradeEnforcement();
Expand Down Expand Up @@ -841,7 +841,7 @@ UniValue protx_update_service(const JSONRPCRequest& request)
"\nResult:\n"
"\"txid\" (string) The transaction id.\n"
"\nExamples:\n"
+ HelpExampleCli("protx_update_service", "\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\" \"168.192.1.100:51472\"")
+ HelpExampleCli("protx_update_service", "\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\" \"168.192.1.100:56740\"")
);
}
CheckEvoUpgradeEnforcement();
Expand Down
4 changes: 2 additions & 2 deletions src/test/evo_specialtx_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static ProRegPL GetRandomProRegPayload()
ProRegPL pl;
pl.collateralOutpoint.hash = GetRandHash();
pl.collateralOutpoint.n = InsecureRandBits(2);
BOOST_CHECK(Lookup("57.12.210.11:51472", pl.addr, Params().GetDefaultPort(), false));
BOOST_CHECK(Lookup("57.12.210.11:56740", pl.addr, Params().GetDefaultPort(), false));
pl.keyIDOwner = GetRandomKeyID();
pl.pubKeyOperator = GetRandomBLSKey();
pl.keyIDVoting = GetRandomKeyID();
Expand All @@ -61,7 +61,7 @@ static ProUpServPL GetRandomProUpServPayload()
{
ProUpServPL pl;
pl.proTxHash = GetRandHash();
BOOST_CHECK(Lookup("127.0.0.1:51472", pl.addr, Params().GetDefaultPort(), false));
BOOST_CHECK(Lookup("127.0.0.1:56740", pl.addr, Params().GetDefaultPort(), false));
pl.scriptOperatorPayout = GetRandomScript();
pl.inputsHash = GetRandHash();
pl.sig.SetByteVector(InsecureRandBytes(BLS_CURVE_SIG_SIZE));
Expand Down
18 changes: 9 additions & 9 deletions src/test/netbase_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ BOOST_AUTO_TEST_CASE(netbase_splithost)
BOOST_CHECK(TestSplitHost("www.bitcoin.org:80", "www.bitcoin.org", 80));
BOOST_CHECK(TestSplitHost("[www.bitcoin.org]:80", "www.bitcoin.org", 80));
BOOST_CHECK(TestSplitHost("127.0.0.1", "127.0.0.1", -1));
BOOST_CHECK(TestSplitHost("127.0.0.1:51472", "127.0.0.1", 51472));
BOOST_CHECK(TestSplitHost("127.0.0.1:56740", "127.0.0.1", 56740));
BOOST_CHECK(TestSplitHost("[127.0.0.1]", "127.0.0.1", -1));
BOOST_CHECK(TestSplitHost("[127.0.0.1]:51472", "127.0.0.1", 51472));
BOOST_CHECK(TestSplitHost("[127.0.0.1]:56740", "127.0.0.1", 56740));
BOOST_CHECK(TestSplitHost("::ffff:127.0.0.1", "::ffff:127.0.0.1", -1));
BOOST_CHECK(TestSplitHost("[::ffff:127.0.0.1]:51472", "::ffff:127.0.0.1", 51472));
BOOST_CHECK(TestSplitHost("[::]:51472", "::", 51472));
BOOST_CHECK(TestSplitHost("::51472", "::51472", -1));
BOOST_CHECK(TestSplitHost(":51472", "", 51472));
BOOST_CHECK(TestSplitHost("[]:51472", "", 51472));
BOOST_CHECK(TestSplitHost("[::ffff:127.0.0.1]:56740", "::ffff:127.0.0.1", 56740));
BOOST_CHECK(TestSplitHost("[::]:56740", "::", 56740));
BOOST_CHECK(TestSplitHost("::56740", "::56740", -1));
BOOST_CHECK(TestSplitHost(":56740", "", 56740));
BOOST_CHECK(TestSplitHost("[]:56740", "", 56740));
BOOST_CHECK(TestSplitHost("", "", -1));
}

Expand All @@ -117,10 +117,10 @@ bool static TestParse(std::string src, std::string canon)
BOOST_AUTO_TEST_CASE(netbase_lookupnumeric)
{
BOOST_CHECK(TestParse("127.0.0.1", "127.0.0.1:65535"));
BOOST_CHECK(TestParse("127.0.0.1:51472", "127.0.0.1:51472"));
BOOST_CHECK(TestParse("127.0.0.1:56740", "127.0.0.1:56740"));
BOOST_CHECK(TestParse("::ffff:127.0.0.1", "127.0.0.1:65535"));
BOOST_CHECK(TestParse("::", "[::]:65535"));
BOOST_CHECK(TestParse("[::]:51472", "[::]:51472"));
BOOST_CHECK(TestParse("[::]:56740", "[::]:56740"));
BOOST_CHECK(TestParse("[127.0.0.1]", "127.0.0.1:65535"));
BOOST_CHECK(TestParse(":::", "[::]:0"));

Expand Down
2 changes: 1 addition & 1 deletion src/tiertwo/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ std::string GetTierTwoHelpString(bool showDebug)
strUsage += HelpMessageOpt("-mnconf=<file>", strprintf("Specify masternode configuration file (default: %s)", DOGECASH_MASTERNODE_CONF_FILENAME));
strUsage += HelpMessageOpt("-mnconflock=<n>", strprintf("Lock masternodes from masternode configuration file (default: %u)", DEFAULT_MNCONFLOCK));
strUsage += HelpMessageOpt("-masternodeprivkey=<n>", "Set the masternode private key");
strUsage += HelpMessageOpt("-masternodeaddr=<n>", strprintf("Set external address:port to get to this masternode (example: %s). Only for Legacy Masternodes", "128.127.106.235:51472"));
strUsage += HelpMessageOpt("-masternodeaddr=<n>", strprintf("Set external address:port to get to this masternode (example: %s). Only for Legacy Masternodes", "128.127.106.235:56740"));
strUsage += HelpMessageOpt("-budgetvotemode=<mode>", "Change automatic finalized budget voting behavior. mode=auto: Vote for only exact finalized budget match to my generated budget. (string, default: auto)");
strUsage += HelpMessageOpt("-mnoperatorprivatekey=<bech32>", "Set the masternode operator private key. Only valid with -masternode=1. When set, the masternode acts as a deterministic masternode.");
if (showDebug) {
Expand Down

0 comments on commit 9854c16

Please sign in to comment.