Questions tagged [wallet-notify]

22 questions
22
votes
2 answers

How do I use walletnotify?

I have bitcoin daemon and I want to use the walletnotify option with a json-rpc call. Some of the examples use a "transaction.sh" file for walletnotify. What is it for? What do I have to write in that sh file, to make walletnotify work for more than…
M.R
  • 501
  • 1
  • 4
  • 11
6
votes
1 answer

-walletnotify on 6 confirmations instead of 1?

Pretty straight forward. Right now im using -walletnotify to run some node.js code when i get an incoming transaction and when theres 1 confirmation. However, after reading around, i found out that 1 confirmation is not secure, which now makes me…
5
votes
3 answers

Listening for changes to my own wallet in the blockchain

I would like to be notified of changes to any of my many wallet address as soon as they happen and then programmatically take action. I have been using wallet notify but this has been giving me really inconsistent behavior and I have found that I…
Loourr
  • 3,050
  • 4
  • 17
  • 35
4
votes
2 answers

walletNotify on every Bitcoin Network transaction

Is there any way by which I can receive each and every Bitcoin transaction that takes place on the Bitcoin network(not only my own wallet's transactions)? Just the way Blockchain.info provides a transaction stream no matter who made them and to whom…
3
votes
0 answers

The setup steps for generating bitcoin addresses programmatically and checking for payments with walletnotify

I have read this question and done some investigation, and I want to make sure I have some of this right. If I have a server somewhere where I can install bit coin (I'm thinking bitcoin-qt on Ubuntu) then I can run bitcoind on that computer. I…
MikeHelland
  • 131
  • 2
2
votes
0 answers

Speeding up walletnotify

In the case of a notice at 0 confirmations, I'm seeing the transaction end up on blockchain.info a lot faster than bitcoind is calling the walletnotify callback - about 10 minutes faster. Is it possible to speed this up?
Fibericon
  • 83
  • 7
2
votes
1 answer

Bitcoin HD wallet forwarder without depending on a 3rd party?

I want to setup a REST API service that does 3 simple things. Ask it to generate a new address (ideally from a BIP32 xpub key tree) Notify my server application when a deposit and confirmation X happens. Once the deposit is confirmed, forward the…
sradforth
  • 121
  • 3
2
votes
1 answer

Walletnotify under windows

Few questions about Walletnotify under win: 1) Is this the rigt way to write .py script into litecoin.conf: walletnotify=C:\Python27\python.exe D:\LiVe\listener.py %s If not, how it should be modified? 2) Walletnotify gives txid as an %s, txid…
1
vote
1 answer

Bitcoind walletnotify runs only when transaction get it's first confirmation

I've successfully configured bitcoind and walletnotify to run on every deposit transaction in testnet. The problem is walletnotify hits only when a transaction gets its first confirmation and nothing happens when the transaction has been just…
RezTaj
  • 13
  • 2
1
vote
0 answers

Bitcoin walletnotify doesn't pass the txid as %s

Thoroughly searched this online but haven't found an answer yet. Basically I'm using the below line in my conf file: walletnotify=C:\pathname\filename.py %s It is supposed to run my python file and pass the txid to it as the argument sys.argv[1].…
oktested
  • 21
  • 5
1
vote
1 answer

Bitcoind walletnotify

Does wallet notify performs actions also on old transactions? In case that my node went offline for some reason, Once its back online I will get notifications from wallet notify for the transactions that I missed when it was offline or not? Tnx in…
Asaf
  • 25
  • 4
1
vote
2 answers

Walletnotify hits twice, immediately

So I've read most of what is tagged with walletnotify, but haven't found a solution. I know walletnotify is supposed to run twice, one for the unconfirmed transaction and again, when it reaches 1 confirmation. For me, it runs twice, right off the…
Dawg
  • 11
  • 3
1
vote
2 answers

Walletnotify not working

Here's my bitcoin.conf: server=1 rpcallowip=127.0.0.1 rpcuser=userrunningbitcoind rpcpassword=passwordofuserrunningbitcoind rpcport=7788 walletnotify=/home/userrunningbitcoind/transaction.sh %s And here's my transaction.sh, which I've tried running…
Fibericon
  • 83
  • 7
1
vote
3 answers

How is scalability of walletnotify of the full node wallet

I'm thinking about how large exchanges handles customer deposits, it appears there are two available solutions, one is to use external notification apis, like blockchain.info 's notification api, another is run a full node and use the walletnotify…
fluter
  • 247
  • 1
  • 10
1
vote
0 answers

BitcoinCore walletnotify before blocknotify?

I want to use bitcoind's walletnotify and blocknotify features. The question is: Is blocknotify script always triggered after walletnotify script? Imagine, I have an unconfirmed transaction in my wallet and I wait for a new block to arrive. When…
Yevhen
  • 173
  • 1
  • 10
1
2