I have configured the walletnotify
and the blocknotify
event on the bitcoin daemon based on the documentation from https://en.bitcoin.it/wiki/Running_Bitcoin, to know any changes to my wallet. Only the blocknotify
is executed and the walletnotify
is never executed. Can someone advice on what event on the wallet will trigger the walletnotify event?
Bitcoin daemon version currently running on: 0.8.1
bitcoin.conf
rpcuser=bitcoinrpc
rpcpassword=bitcoinrpc1
server=1
testnet=1
walletnotify=/home/dev/test_log/log.sh %s
blocknotify=/home/dev/test_log/log.sh %s
Walletnotify will get triggered when:
https://en.bitcoin.it/wiki/Running_Bitcoin
-walletnotify= Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)
https://github.com/bitcoin/bitcoin/pull/1974
Exactly like -blocknotify, except that it gives the TxID of transactions that hit the wallet.
Note that this is NOT a payment notification. It will trigger on outgoing transactions too, and can trigger multiple times on the same transaction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With