Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: mav on June 12, 2012, 06:47:26 AM



Title: how to track incoming coins alert
Post by: mav on June 12, 2012, 06:47:26 AM
In my bitcoin-qt client I get a balloon notification whenever coins are received in my wallet.

Is there a way to tap into this functionality from bitcoind? I have a cron job set up to check my 'expected incoming addresses' for changes in the balance, but cron has a resolution of one minute which is pretty crap for this kind of thing, and I would prefer an event-style code-base where possible rather than a scheduled-task-style code-base.

Any tips on how I can tap into this to trigger some other event as soon as an incoming transfer is detected from bitcoind?


Title: Re: how to track incoming coins alert
Post by: blueadept on June 12, 2012, 08:56:28 AM
That functionality is probably going to end up in the 0.7 release.


Title: Re: how to track incoming coins alert
Post by: ThomasV on June 12, 2012, 09:28:01 AM
Electrum has a 'watch_address' script that you can easily adapt to your needs


Title: Re: how to track incoming coins alert
Post by: runlinux on June 12, 2012, 11:25:27 AM
I built a simple application that checked my wallet balance every 30 seconds. based on the change, an email was sent to my phones txt address telling me a deposit or withdraw was made. very useful!


Title: Re: how to track incoming coins alert
Post by: Herbert on June 12, 2012, 12:27:07 PM
In my bitcoin-qt client I get a balloon notification whenever coins are received in my wallet.

Is there a way to tap into this functionality from bitcoind? I have a cron job set up to check my 'expected incoming addresses' for changes in the balance, but cron has a resolution of one minute which is pretty crap for this kind of thing, and I would prefer an event-style code-base where possible rather than a scheduled-task-style code-base.

Any tips on how I can tap into this to trigger some other event as soon as an incoming transfer is detected from bitcoind?

You could setup an agent at bitcoinmonitor.net to monitor the 'expected incoming addresses'. You can get email, http callback or jabber notification immediately when you receive (or withdraw) any fund. Side effect is you don't have to have bitcoind running to get notifications.