Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: YodaYoda on March 17, 2016, 08:49:29 PM



Title: Wallet notify on Windows
Post by: YodaYoda on March 17, 2016, 08:49:29 PM
Hi,

I'm trying to get walletnotify option to work.

This is what I have in my bitcoin.conf file:
rpcuser=rpcuser
rpcpassword=rpcpwd
server=1
walletnotify=c:\btc\trans.bat %s


The content of transbat:
echo %1 > %1.trn

and i execute bitcoind with the following:

bitcoind  -conf=c:\btc\bitcoin.conf -testnet

I get no .trn files written at all even if the bitcoin client report inbound and outbound transactions.

Any help would be greatly appreciated.

Thank you





Title: Re: Wallet notify on Windows
Post by: ra213 on January 09, 2018, 07:14:28 AM
just an idea, I have had some similar errors with bitcoin and windows locations.
have you tried

Quote
c:\\btc\\trans.bat %s

everything seems to appear correct. you should be getting TXid.trn files.

It doesn't make any difference, works with single and double backslashes.