bitcoind as daemon in OSX

3 messages BitcoinTalk nelisky, Satoshi Nakamoto September 6, 2010 — September 6, 2010
nelisky September 6, 2010 21:44 UTC Source ·

I’ve been getting this from the start, and it is only a mild nuisance as I develop in OSX but then deploy on linux.

Anyway, the bitcoind process doesn’t daemonize itself on my system, OSX 10.6, not with nor without -daemon. I can background it with ’&’ or ctrl-z bg, and it works correctly.

Satoshi Nakamoto September 6, 2010 21:52 UTC Source ·

Can you build?

Try changing line 78 of init.cpp from: #ifdef WXGTK

to: #ifndef WXMSW

If that works, I’ll change the source.  It should work.

nelisky September 6, 2010 22:14 UTC Source ·

Yep, that did the trick. Thank you.

Now I just need you to include the getblock and listtransactions patches and I’m a happy camper. If you still feel strongly against these, I just need parts of them, really:

  • From getblock: A way to extract the hash signature from a specific block (which I use in the lottery)
  • From listtransactions: Well, I need everything there, really, but mostly for housekeeping as I need a way of quickly getting a log of transactions. But not all information is important, only the address (in or out, depending on credit or debit) the type and the confirmation count. I also like to be able to see blocks generated before they mature, but that’s not that important.