![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 26, 2013, 11:56:17 AM |
|
walletnotify only seems to get called on 0 and 1 confirmations. Unless I'm missing something, it seems that if you want to check for more you need to use blocknotify afterwards on the block, poll with gettransaction or allow the user to check the transaction until it is sufficiently confirmed.
gettransaction needs a transaction ID though, which seems to only come from either sendtoaddress, sendfrom or walletnotify, and since sendtoaddress and sendfrom come from the local wallet, that won't work for receiving. I assume raw transactions also can't send from an arbitrary address without being signed by the private key on that address.
Is there any way to get the transaction id when receiving other than walletnotify? listsinceblock?
|