1

Suppose I have a database with 10k users each having a dedicated wallet. Based on my knowledge, the only way to know in real time when funds have been sent to those wallets is by constantly pooling each one of them - overkill.

What is the most efficient way to accomplish that?

user8555937
  • 207
  • 1
  • 7

1 Answers1

2

Based on my knowledge, the only way to know in real time when funds have been sent to those wallets is by constantly pooling each one of them

You don't need to poll. There are 2 options available to get a realtime notification: ZMQ or --tx-notify.

If you have each users funds tracked through subaddresses, you only need a single wallet running that is doing the notifications.

jtgrassie
  • 19,601
  • 4
  • 17
  • 54