6

Although the API reference implies that running bitcoin -server is the same as running bitcoind, I get no error message when running bitcoin -server with no bitcoin.conf file but I get teh following error message when invoking bitcoind -

C:\Program Files (x86)\Bitcoin\daemon>bitcoind.exe Warning: To use bitcoind, you must set rpcpassword= in the configuration file: C:\Users\thequietcenter\AppData\Roaming\Bitcoin\bitcoin.conf If the file does not exist, create it with owner-readable-only file permissions.

C:\Program Files (x86)\Bitcoin\daemon>

1 Answer 1

3

They're not exactly the same -- they're two different programs. The bitcoind program is a pure server (or pure RPC client), it contains no GUI at all. The bitcoin program contains a GUI and can also run in server mode. So being unable to operate as a server is fatal to the server-only version, because there's nothing else it can do.

When you ask the GUI client to run in server mode, it interprets this as an additional request. If it is not configured properly to run in server mode, it will still start up and run the GUI. So for bitcoind, an improperly configured server mode is fatal -- what else could it do? For bitcoin, an improperly configured server mode just makes server mode not work; it will still run as a GUI client.

3
  • Your answer is precisely accurate, but a little hard to understand for a general audience. Perhaps you could expand upon your last sentence and clarify it a little? Oct 12, 2011 at 13:53
  • 1
    I think the key is comprehension of different error levels. Bitcoin encompasses both a server and a client. An error in the server configuration is not fatal (i.e. it can be ignored) to the client - it has something else that it can do (be a client) so it ignores the error and moves on. bitcoind only operates as a server, so an error in the server config is fatal (can't be ignored) since it has no other function to fulfill. Oct 12, 2011 at 15:50
  • @DavidSchwartz excellent edit! I appreciate it. Oct 12, 2011 at 18:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.