Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong RPC port #2

Open
wangchun opened this issue Feb 22, 2014 · 0 comments
Open

Wrong RPC port #2

wangchun opened this issue Feb 22, 2014 · 0 comments

Comments

@wangchun
Copy link

"unitedscryptcoin help" states the rpcport for mainnet is 23327 and for testnet is 33327, but it was reserved in real world. Please apply the following patch to bitcoinrpc.cpp line 42:

diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index 4c8f9c2..8a0f690 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -39,7 +39,7 @@ static boost::thread_group* rpc_worker_group = NULL;

static inline unsigned short GetDefaultRPCPort()
{

  • return GetBoolArg("-testnet", false) ? 23327 : 33327;
  • return GetBoolArg("-testnet", false) ? 33327 : 23327;
    }

Object JSONRPCError(int code, const string& message)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant