FeatherCoin / Feathercoin

https://feathercoin.com
MIT License
127 stars 124 forks source link

Command line help shows wrong RPC port information #10

Closed wellenreiter01 closed 10 years ago

wellenreiter01 commented 10 years ago

The command line help shows: -rpcport= Listen for JSON-RPC connections on (default: 9337 or testnet: 19332)

The wallet listens on 9667 for RPC calls for production as well as for the testnet.

Bushstar commented 10 years ago

Just tested and found that my testnet listens on 19337 as it is supposed to. Though text needs to be updated in the client still. Check to see if you have a port defined in feathercoin.conf.

Bushstar commented 10 years ago

This is how it is defined in bitcoinrpc.cpp

static inline unsigned short GetDefaultRPCPort() { return GetBoolArg("-testnet", false) ? 19337 : 9337; }

wellenreiter01 commented 10 years ago

That's correct, found a line in my config defining 9667. So just the helpstring needs update to show 19337:9337