0

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.

0

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.

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

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.