1

In monerod, I see an example printout:

BLOCK ADDED AS ALTERNATIVE ON HEIGHT ##########

What is a recommended way to send information about this reorg to another program?

The main use-case is detecting which transactions were impacted, so that they can be adjusted accordingly. Most importantly, I need to know if a transaction has been dropped or modified.

1 Answer 1

1

What is a recommended way to send information about this reorg to another program?

The main use-case is detecting which transactions were impacted...

If you start monerod with --reorg-notify, it will execute the supplied script / program each time a reorg occurs.

You can then call the daemon RPC /get_transaction_pool looking for transactions where kept_by_block is true.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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