public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [Bitcoin-development] Adding callback hooks to the satoshi client
@ 2012-03-22  5:13 Eric Lombrozo
  2012-03-22  5:24 ` Matt Corallo
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eric Lombrozo @ 2012-03-22  5:13 UTC (permalink / raw)
  To: bitcoin-development

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-24  8:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22  5:13 [Bitcoin-development] Adding callback hooks to the satoshi client Eric Lombrozo
2012-03-22  5:24 ` Matt Corallo
2012-03-22  5:39 ` bitcoin-list
2012-03-22  9:56   ` Michael Grønager
2012-03-22 14:00 ` Luke-Jr
2012-03-22 15:23   ` Eric Lombrozo
2012-03-24  8:41     ` Eric Lombrozo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox