Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SAak3-0002QM-0w for bitcoin-development@lists.sourceforge.net; Thu, 22 Mar 2012 05:39:19 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of bluematt.me designates 173.246.101.161 as permitted sender) client-ip=173.246.101.161; envelope-from=bitcoin-list@bluematt.me; helo=mail.bluematt.me; Received: from vps.bluematt.me ([173.246.101.161] helo=mail.bluematt.me) by sog-mx-4.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1SAak1-0005J4-PY for bitcoin-development@lists.sourceforge.net; Thu, 22 Mar 2012 05:39:19 +0000 Received: from [21.83.89.158] (66-87-109-158.pools.spcsdns.net [66.87.109.158]) by mail.bluematt.me (Postfix) with ESMTPSA id 7511E317C for ; Thu, 22 Mar 2012 05:36:38 +0000 (UTC) References: User-Agent: K-9 Mail for Android In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----D6U7FSX4NLEVVEOBX7959YHDIHB728" From: bitcoin-list@bluematt.me Date: Thu, 22 Mar 2012 01:39:06 -0400 To: bitcoin-development@lists.sourceforge.net Message-ID: <15bcfa26-7be9-4883-ad03-bfb7085b5df0@email.android.com> X-Spam-Score: -0.5 (/) 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 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message X-Headers-End: 1SAak1-0005J4-PY Subject: Re: [Bitcoin-development] Adding callback hooks to the satoshi client X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 05:39:19 -0000 ------D6U7FSX4NLEVVEOBX7959YHDIHB728 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You might also want to check out libcoin. Its a fork of the satoshi clien= t: https://github.com/ceptacle/libcoin Matt Eric Lombrozo wrote: Hey, guys. I've been writing a number of apps that require realtime event notifications, where the JSON-RPC API clearly doesn't suffice. There are two approaches I've been taking to this end: 1) Writing my own library for dealing with raw bitcoin structures and connecting to bitcoin nodes via the bitcoin protocol. 2) Making custom builds of the satoshi client putting callback hooks in key points. Neither of these two approaches is ideal. (1) involves a lot of code duplication, (2) involves patching the satoshi client source each time I grab a later version, with the everpresent risk of something breaking and the need to continue maintaining these patches. Moreover, unfortunately many of these key points happen to be in files like main.cpp which see frequent changes. I would like to propose adding these callback hooks to the main branch. I am willing to help locate these key points, reorganize the code to place these methods in separate source files, define a callback mechanism, and contribute source code. -Eric Lombrozo _____________________________________________ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here=20 http://p.sf.net/sfu/sfd2d-msazure _____________________________________________ Bitcoin-development mailing list Bitcoin-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bitcoin-development ------D6U7FSX4NLEVVEOBX7959YHDIHB728 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable You might also want to check out libcoin. Its a= fork of the satoshi client: https://github.com/ceptacle/libcoin

Matt

Eric Lombrozo <elombrozo@gmail.= com> wrote:
Hey, guys.

I've been writing a number of apps that = require realtime event
notifications, where the JSON-RPC API clearly= doesn't suffice.

There are two approaches I've been taking to= this end:

1) Writing my own library for dealing with raw bitc= oin structures and
connecting to bitcoin nodes via the bitcoin proto= col.
2) Making custom builds of the satoshi client putting callback = hooks
in key points.

Neither of these two approaches is i= deal. (1) involves a lot of code
duplication, (2) involves patching = the satoshi client source
each time I grab a later version, with the= everpresent risk of
something breaking and the need to continue mai= ntaining these patches.
Moreover, unfortunately many of these key po= ints happen to be in files
like main.cpp which see frequent changes.=

I would like to propose adding these callback hooks to the main
branch. I am willing to help locate these= key points, reorganize the
code
to place these methods in sepa= rate source files, define a callback
mechanism, and contribute sourc= e code.

-Eric Lombrozo



This SF email is= sponsosred by:
Try Windows Azure free for 90 days Click Here
= http://p.sf.net/sfu/sfd2d-m= sazure


Bitcoin-development mailing list
Bitcoin= -development@lists.sourceforge.net
https://lists.sourceforge.net= /lists/listinfo/bitcoin-development
------D6U7FSX4NLEVVEOBX7959YHDIHB728--