Author

Topic: bitcoind to react to when transaction is received (Read 983 times)

hero member
Activity: 588
Merit: 500
Look for blkmond; it's a simple Python script that watches the Bitcoin network and can be customized to run an external program when a transaction is received.

Is it possible to trigger already with 0 confirmations? Or only with new blocks coming in, so at least 1 confirmation? (Or do i still have a totally wrong understanding of how this works  Grin)

That's what I said. It sees transactions "live" as they come in. Get hacking Smiley
full member
Activity: 228
Merit: 100
i would like my bitcoind daemon to do something as soon as a transaction is received.
basically it should execute a mysql query where i need the amount as well as the address on which it was received.

That's a job for cron, isn't it?

Yes, i think so too.
ama
member
Activity: 112
Merit: 10
i would like my bitcoind daemon to do something as soon as a transaction is received.
basically it should execute a mysql query where i need the amount as well as the address on which it was received.

That's a job for cron, isn't it?
hero member
Activity: 488
Merit: 500
Look for blkmond; it's a simple Python script that watches the Bitcoin network and can be customized to run an external program when a transaction is received.

Is it possible to trigger already with 0 confirmations? Or only with new blocks coming in, so at least 1 confirmation? (Or do i still have a totally wrong understanding of how this works  Grin)
hero member
Activity: 588
Merit: 500
Look for blkmond; it's a simple Python script that watches the Bitcoin network and can be customized to run an external program when a transaction is received.
full member
Activity: 228
Merit: 100
There is currently no way to do it as you described.

You can a command every x minutes and execute the rpc command "listtransactions".
Check the wiki for more information.

regards, talpan
sr. member
Activity: 351
Merit: 250
hello,
i would like my bitcoind daemon to do something as soon as a transaction is received.

basically it should execute a mysql query where i need the amount as well as the address on which it was received.

how can i do that? thanks!
Jump to: