We would like to implement a custom plugin within our own node, in order to listen to transactions from the main net, and then push relevant information to external services.
However, we are concerned with security. In particular, whether we can fully trust the transactions we are listening to, before we take some external action that we ourselves cannot reverse (e.g., bank deposit).
Is there a way to configure/program the plugin so that it only processes the blocks after they have become irreversible?
Also related: