How to get notification on bitcoin receive with bitcoin core
How to get notification on bitcoin receive with bitcoin core How can i get bitcoin receive notification with bitcoin core. I have tried walletnotify and blocknotify options. walletnofity is fired two times when i send bitcoins & receive bitcoin. And with blocknotify i have to perform below task to detect which account of wallet has received bitcoin. Run getBlock command to get all transaction hash Run a for loop for each transaction hash to run getTransaction command If transaction hash belong to my wallet account i save receive transaction in my database. Using blocknotify seems to be inefficient as it involves lots of RPC call per transaction. walletnofity executes twice for bitcoin send and receive. I have also tried ZMQ but i got response which is difficult to convert into desirable format. So could anybody suggest some efficient way to get bitcoin receive notification having 1 confirmation. http://ift.tt/2yKPySd