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?

1
  • There isn't really an efficient way of doing it. You'd be much better off using subaddresses/accounts so you only scan once.
    – user36303
    Jun 15 '21 at 17:13
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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.