Author

Topic: -addnode and -connect actually don't require rpcpassword set in bitcoin.conf (Read 3126 times)

Hal
vip
Activity: 314
Merit: 4276
Oh, right. Sorry, and thanks!
administrator
Activity: 5222
Merit: 13032
The command is:
./bitcoin.exe -addnode=192.168.1.48

Including switches without "-" makes Bitcoin think that you want to run it in RPC client mode. It was thinking that you wanted to run a Bitcoin RPC client with the -addnode switch, sending the RPC command "192.168.1.48".
Hal
vip
Activity: 314
Merit: 4276
Running ./bitcoin.exe -addnode 192.168.1.48 (which is another computer running Bitcoin) produces error: You must set rpcpassword= in the configuration file...

Same error with -connect. I don't have a bitcoin.conf.

Is this right? I'm not interested in rpc, I just want to speed up initial block download.

When I create the file as required, I then get error: couldn't connect to server.

I tried telnet 192.168.1.48 8333 and did make a connection, got back the word 'version and a bunch of gibberish.
Jump to: