Bitcoin Forum
June 17, 2024, 05:05:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: how to get confirmations about many transaction at once using bitcore node or bi on: April 20, 2018, 12:06:09 PM
Thank very much for your answer.

My initial need to check the confirmations (actually 6) of multiple pending deposit on my hot wallet addresses which i generated for each deposit request.
So i wish to check any confirmed deposit on those addresses.
I'm using bitcore, bitcore-wallet-service with bitcoind with tindex 1 setting.

My plan was like following:
1. listen mempool update bitcoind.on('tx')
--> if there's a match of output address with my receiving address ==> create a mempool deposit tx (with tx of the address) on db
2. listen new block update bitcoind.on('block')
--> if there's a match with mempool deposit tx id ==> move the mempool deposit tx to pending deposit tx on db
--> check all existing pending deposit tx for confirmation until 6 (using getRawTransaction)

I know it could be done with some cloud api like blockchain.net etc. But i need implement on my own node.

I've been studying the blockchain only 1 month. so please how can i accomplish this task?

Thanks in advance.

2  Bitcoin / Development & Technical Discussion / how to get confirmations about many transaction at once using bitcore node or bi on: April 20, 2018, 07:11:26 AM
I think it's possible to get the confirmation of a single transaction using getrawtransaction of bitcoind rpc, but i want to check the confirmations of multiple transaction by one call.
Or do i need to call getrawtransaction for each tx in pending tx?

Is it possible?

Thanks
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!