Fix simnet RPC port.
18555 is the network port, and wallet cannot listen on this port. Instead, follow the pattern laid out by mainnet, testnet3, and regtest by listening on 18554 (one less than the network port).
This commit is contained in:
parent
6398dc098e
commit
55564dc31f
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ type config struct {
|
||||||
RPCConnect string `short:"c" long:"rpcconnect" description:"Hostname/IP and port of btcd RPC server to connect to (default localhost:18334, mainnet: localhost:8334, simnet: localhost:18556)"`
|
RPCConnect string `short:"c" long:"rpcconnect" description:"Hostname/IP and port of btcd RPC server to connect to (default localhost:18334, mainnet: localhost:8334, simnet: localhost:18556)"`
|
||||||
DebugLevel string `short:"d" long:"debuglevel" description:"Logging level {trace, debug, info, warn, error, critical}"`
|
DebugLevel string `short:"d" long:"debuglevel" description:"Logging level {trace, debug, info, warn, error, critical}"`
|
||||||
ConfigFile string `short:"C" long:"configfile" description:"Path to configuration file"`
|
ConfigFile string `short:"C" long:"configfile" description:"Path to configuration file"`
|
||||||
SvrListeners []string `long:"rpclisten" description:"Listen for RPC/websocket connections on this interface/port (default port: 18332, mainnet: 8332, simnet: 18555)"`
|
SvrListeners []string `long:"rpclisten" description:"Listen for RPC/websocket connections on this interface/port (default port: 18332, mainnet: 8332, simnet: 18554)"`
|
||||||
DataDir string `short:"D" long:"datadir" description:"Directory to store wallets and transactions"`
|
DataDir string `short:"D" long:"datadir" description:"Directory to store wallets and transactions"`
|
||||||
Username string `short:"u" long:"username" description:"Username for client and btcd authorization"`
|
Username string `short:"u" long:"username" description:"Username for client and btcd authorization"`
|
||||||
Password string `short:"P" long:"password" default-mask:"-" description:"Password for client and btcd authorization"`
|
Password string `short:"P" long:"password" default-mask:"-" description:"Password for client and btcd authorization"`
|
||||||
|
|
|
@ -55,5 +55,5 @@ var simNetParams = params{
|
||||||
Params: &btcnet.SimNetParams,
|
Params: &btcnet.SimNetParams,
|
||||||
connect: "localhost:18556",
|
connect: "localhost:18556",
|
||||||
btcdPort: "18556",
|
btcdPort: "18556",
|
||||||
svrPort: "18555",
|
svrPort: "18554",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue