I’m designing an change software the place customers can deposit funds into their account by sending BTC to a singular deal with.
What’s the easiest way to watch 100,000+ addresses for incoming transactions that meet a sure variety of minimal confirmations?
One strategy can be to take heed to the rawtx occasion utilizing ZMQ to be able to uncover new transactions, then write a program to periodically question the variety of confirmations for every transaction utilizing JSON-RPC. Nonetheless, this technique appears gradual since it will contain repeatedly hammering the node with RPC calls. I don’t want to use exterior APIs like https://blockchain.information.
What can be essentially the most environment friendly approach to accomplish this?