What is the best way to get an HTTP callback when bitcoind client receive an input/output transaction?
Thank you all
The Bitcoin-Qt/bitcoind client does not have any callback, so the main method employed currently is to poll the client to discover new transactions (using listsinceblock).
BitcoinJ does support this with a PeerEventListener interface:
-
http://bitcoin.stackexchange.com/a/8133/153Also, BitsOfProof possibly supports a callback for new transactions as well.
[Edit: And most payment processors, e.g., BitPay, provide this within their API.]
[Edit2: And you can configure Blockchain.info/wallet to notify you:
-
http://blockchain.info/wallet/payment-notifications ]