Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: 1bitc0inplz on May 17, 2011, 02:02:14 AM



Title: bitcoind vs. bitcoin --server
Post by: 1bitc0inplz on May 17, 2011, 02:02:14 AM
Can someone explain the differences between running bitcoin with the --server option versus compiling it as a daemon and running bitcoind?

Other than the obvious difference, ones a daemon the other isn't, is there any difference in the role they can serve?


Title: Re: bitcoind vs. bitcoin --server
Post by: error on May 17, 2011, 02:06:45 AM
bitcoin gives you a GUI. bitcoind does not.


Title: Re: bitcoind vs. bitcoin --server
Post by: 1bitc0inplz on May 17, 2011, 02:10:59 AM
bitcoin gives you a GUI. bitcoind does not.

Really? That's the only difference?

That's what I was beginning to suspect, but I wanted to double check.

So, somebody who wanted to create a pool, but was too busy screwing with other parts of their software they needed to create, could just run bitcoin --server as their "backend" until they got around to screwing with setting up boost and all the other dependencies required to build bitcoind?

Sorry, I just wanted to re-phrase my understanding of what you said, just to make certain I understand.


Title: Re: bitcoind vs. bitcoin --server
Post by: lulzplzkthx on May 17, 2011, 02:19:22 AM
bitcoin gives you a GUI. bitcoind does not.

Really? That's the only difference?

That's what I was beginning to suspect, but I wanted to double check.

So, somebody who wanted to create a pool, but was too busy screwing with other parts of their software they needed to create, could just run bitcoin --server as their "backend" until they got around to screwing with setting up boost and all the other dependencies required to build bitcoind?

Sorry, I just wanted to re-phrase my understanding of what you said, just to make certain I understand.
I believe boost, etc. is required for bitcoin, not just bitcoind. I could be very wrong.


Title: Re: bitcoind vs. bitcoin --server
Post by: 1bitc0inplz on May 17, 2011, 02:20:55 AM
I believe boost, etc. is required for bitcoin, not just bitcoind. I could be very wrong.

No, I believe you are right. But, with bitcoin (not daemon) I don't necessarily have to compile it. I can just download the binaries and run. I do not believe (and someone correct me if I'm wrong) that there is an official bitcoind binary for any platform... I'd have to compile that myself.


Title: Re: bitcoind vs. bitcoin --server
Post by: lulzplzkthx on May 17, 2011, 02:54:38 AM
I believe boost, etc. is required for bitcoin, not just bitcoind. I could be very wrong.

No, I believe you are right. But, with bitcoin (not daemon) I don't necessarily have to compile it. I can just download the binaries and run. I do not believe (and someone correct me if I'm wrong) that there is an official bitcoind binary for any platform... I'd have to compile that myself.
The Windows installer provides a bitcoind.exe in the folder C:\Program Files (x86)\Bitcoin\daemon\

Though I believe the Linux version does NOT include a bitcoind executable, and I don't touch Apple-branded stuff.


Title: Re: bitcoind vs. bitcoin --server
Post by: 1bitc0inplz on May 17, 2011, 03:06:23 AM
... I don't touch Apple-branded stuff.

:'(  ;)

Thanks for the reply. I am hyped about this. So glad I can focus my energy on solving other problems, and leave tracking down dependencies for another day.


Title: Re: bitcoind vs. bitcoin --server
Post by: netrin on May 31, 2011, 10:35:07 AM
The Linux 0.3.21 binaries do indeed come with pre-compiled bitcoin and bitcoind.

Lulzplzkthx, answer=(false==answer); variable 'answer' not defined nor recursive. Clever and twisted though.


Title: Re: bitcoind vs. bitcoin --server
Post by: Vitalicus on January 10, 2013, 09:17:05 PM
How to do a transaction from other PC (without timewiever), if I started the server on my local computer.


Title: Re: bitcoind vs. bitcoin --server
Post by: Gavin Andresen on January 10, 2013, 09:29:53 PM
correction: bitcoin-qt/bitcoind command-line arguments have a single-dash, so it would be
  bitcoin-qt -server

Since you have to set a rpcuser/rpcpassword in the bitcoin.conf file for -server to work anyway, you might want to put "server=1" in the bitcoin.conf file instead of using the command-line argument...


Title: Re: bitcoind vs. bitcoin --server
Post by: SgtSpike on January 10, 2013, 09:36:27 PM
correction: bitcoin-qt/bitcoind command-line arguments have a single-dash, so it would be
  bitcoin-qt -server

Since you have to set a rpcuser/rpcpassword in the bitcoin.conf file for -server to work anyway, you might want to put "server=1" in the bitcoin.conf file instead of using the command-line argument...

Cool - I didn't realize I could run a bitcoind server and still have the gui available.  That could be handy!