1

Bitcoin Core ZMQ messaging system has hashtx along with 4 other topics. But nowhere it is documented whether the transactions that comes from hashtx are confirmed transactions which are added in a block or unconfirmed transactions that is yet to mined.

1 Answer 1

1

Both. A notification will be sent when a transaction is added to the mempool. For newly added blocks, a notification will be sent for every transaction in that block, so when a transaction is confirmed, there will be a notification for it.

2
  • Thanks @Andrew, So two notification will be coming, one when sent to mempool and another when it got added in the block right ? Oct 21, 2020 at 6:58
  • Yes, that is correct.
    – Andrew Chow
    Oct 21, 2020 at 15:51

Your Answer

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

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