Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Hal on December 06, 2010, 12:27:06 AM



Title: -addnode and -connect actually don't require rpcpassword set in bitcoin.conf
Post by: Hal on December 06, 2010, 12:27:06 AM
Running ./bitcoin.exe -addnode 192.168.1.48 (which is another computer running Bitcoin) produces error: You must set rpcpassword=<password> 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.


Title: Re: -addnode and -connect require rpcpassword set in bitcoin.conf
Post by: theymos on December 06, 2010, 01:26:16 AM
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".


Title: Re: -addnode and -connect require rpcpassword set in bitcoin.conf
Post by: Hal on December 06, 2010, 03:46:12 AM
Oh, right. Sorry, and thanks!