Open EggPool opened 6 years ago
@aareon How do you deal with rollbacks? You can be notified several times of the same tx, or be notified for a tx that will disappear later on (even if we wait for a minimum number of confirmations, and in that case, it's no more real time)
Walletnotify typically notifies twice per transaction. Once when it arrives, another when it gets one confirmation. If a transaction doesn’t confirm, it’s up to whatever is taking said notifications to handle that logic. I failed to mention that this is how it works, I apologize.
From @aareon
Reference: https://en.bitcoin.it/wiki/Running_Bitcoin
A wallet transaction includes any transaction for any given address belonging to said wallet.
Usage: -walletnotify=echo “Transaction received... TXID: %s”