Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <gronager@mac.com>) id 1Uznrn-0004f9-MB
	for bitcoin-development@lists.sourceforge.net;
	Thu, 18 Jul 2013 13:03:31 +0000
Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of mac.com
	designates 17.158.236.237 as permitted sender)
	client-ip=17.158.236.237; envelope-from=gronager@mac.com;
	helo=nk11p04mm-asmtp002.mac.com; 
Received: from nk11p04mm-asmtpout002.mac.com ([17.158.236.237]
	helo=nk11p04mm-asmtp002.mac.com)
	by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76)
	id 1Uznrl-0000aK-Vg for bitcoin-development@lists.sourceforge.net;
	Thu, 18 Jul 2013 13:03:31 +0000
Received: from macgronager.home
	(pool-108-21-220-181.nycmny.fios.verizon.net [108.21.220.181])
	by nk11p04mm-asmtp002.mac.com
	(Oracle Communications Messaging Server 7u4-26.01(7.0.4.26.0) 64bit
	(built Jul
	13 2012)) with ESMTPSA id <0MQ400ASCUXCTU30@nk11p04mm-asmtp002.mac.com>
	for bitcoin-development@lists.sourceforge.net; Thu,
	18 Jul 2013 13:03:13 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure
	engine=2.50.10432:5.10.8794,1.0.431,0.0.0000
	definitions=2013-07-18_05:2013-07-18, 2013-07-18,
	1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
	ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0
	classifier=spam
	adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000
	definitions=main-1307180080
Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and wrapped.
Content-type: text/plain; charset=us-ascii
MIME-version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Michael Gronager <gronager@mac.com>
In-reply-to: <F2462CCF2C1B4404BAAC69048DA08A0D@grabhive.com>
Date: Thu, 18 Jul 2013 09:03:12 -0400
Content-transfer-encoding: quoted-printable
Message-id: <B0B0F385-1D3C-4D79-8A62-2E41E5EC20CF@mac.com>
References: <CANEZrP0_H9+prDSF92q8a4QzP=fzDM6cTDv0+KcfV9NF9thkmw@mail.gmail.com>
	<3E7894A0-06F3-453D-87F8-975A244EBACF@include7.ch>
	<CANEZrP2jmWkDbpJEm0vd2CKF-prFNbz_ZeNJfDWtSCKb8k5ZXA@mail.gmail.com>
	<2BDA0943-22BB-4405-9AF0-86FB41FD04A6@include7.ch>
	<CANEZrP0McSrVzwv=-qimPyX41EEDmyQdYW5QjPr_i+KWyJZSZw@mail.gmail.com>
	<2F20A509-13A9-4C84-86D7-A15C21BACD53@include7.ch>
	<CANEZrP2yQvmvwP_ZULdS2i+X6L9MeZ+DfidiuZPD2EHwLsN2MA@mail.gmail.com>
	<2A1C412D-414E-4C41-8E20-F0D21F801328@grabhive.com>
	<CANEZrP12V_5Ak0f91RsMziuqXysde102rGeSko=qPBjefy3AeA@mail.gmail.com>
	<8EE501AA-1601-4C28-A32E-80F17D219D3A@grabhive.com>
	<20130717105853.GA10083@savin>
	<3DB67FAF-E113-47FE-9043-C22D0F5A4F4A@grabhive.com>
	<16E9C860-51CA-4274-B852-A816D12B6A5B@mac.com>
	<7685FDAE-C584-4FC8-9751-4D5556EC57C7@grabhive.com>
	<CANEZrP3F0Q_NXhhbkh=9CESAAmhntM_uKQEe0CJf=sDuJx2Xmw@mail.gmail.com>
	<EFFD62F8-8066-4B56-8331-1F1A8D7FF3C2@mac.com>
	<CANEZrP2dLJXfRmG8PRiHMWNGsSwT2ZL0Ac3ib4YZQ1Hv7uZDVg@mail.gmail.com>
	<F2462CCF2C1B4404BAAC69048DA08A0D@grabhive.com>
To: Bazyli Zygan <b@grabhive.com>
X-Mailer: Apple Mail (2.1508)
X-Spam-Score: -1.8 (-)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
	sender-domain
	0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
	(gronager[at]mac.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	-0.3 RP_MATCHES_RCVD Envelope sender domain matches handover relay
	domain
X-Headers-End: 1Uznrl-0000aK-Vg
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] SPV bitcoind? (was: Introducing
 BitcoinKit.framework)
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Thu, 18 Jul 2013 13:03:31 -0000

Hi Bazyli,

I actually do my main development on Mac OSX, so it surprises me to hear =
- I build Xcode projects with libcoin daily on Mac OSX and linux, on =
Windows it is agreeable more of a fight to build. QT is really not =
needed, I kept it there for BitcoinQT, that was once part of the tree =
too, will remove it as the qt part got split out.

Building clean on Mac requires OpenSSL, BDB and Boost - all can be =
installed using homebrew, also remember to use the latest cmake, and a =
normal cmake xcode call: cmake -GXcode should do the job. Otherwise pls =
send me the debug output.=20

A few quick notes for building stuff there:
 - try with coinexplorer, it is the base code I am using - it splits out =
the wallet from the server, nice if you e.g. want to build a webcoin =
like server.
 - The wallet parts from bitcoind I don't use personally, so if you have =
problems with these I need to have a closer look.

Also note that as the first version of libcoin was a direct =
refactorization of bitcoin, the current one add a lot of different =
features and handles things quite differently - you can e.g. lookup any =
unspent output by script (bitcoin address) in milliseconds (nice for web =
wallets).

Finally:=20

> 	Because of the templates that bitcoind is actually using that's =
not gonna work ever. That's why BitcoinKit is a separate dynamic library =
that's compiled with gcc (or at least llvm pretending to be gcc ;P)

As I mentioned it also compiles on Linux (gcc) - gcc is quite savvy when =
it comes to templates - I agree that the template stuff from Database.h =
is quite involved, but as I mentioned before try with coinexplorer.

- I will try to do a from scratch recompilation to see if I experience =
similar issues...

Also - if you are good at creating frameworks on Mac OSX using cmake, =
help would be appreciated! I think that libcoin by defaults build using =
shared libs, this configurable from ccmake using the dynamic library =
option.

Thanks,

Michael