Bitcoin Forum
November 08, 2024, 11:49:28 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind as daemon in OSX  (Read 8682 times)
nelisky (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002


View Profile
September 06, 2010, 09:44:06 PM
 #1

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
Founder
Sr. Member
*
Offline Offline

Activity: 364
Merit: 7193


View Profile
September 06, 2010, 09:52:45 PM
 #2

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 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002


View Profile
September 06, 2010, 10:14:25 PM
 #3

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!