1

I know there is a function that allows me to see all transactions that are in mempool, but is there a way to see every new transaction that enters mempool? Like log to file whenever new unconfirmed transaction enter mempool.

2
  • Hi, what are you trying to achieve ? Commented Sep 24, 2020 at 11:41
  • I'm trying to achieve live list of transactions in mempool. Whenever new transaction enters mempool, I want to receive like push notification to my php that updates transactions in mempool live
    – Mortelity
    Commented Sep 24, 2020 at 12:24

1 Answer 1

1

This PR got merged yesterday, you can build from master branch and maybe this should solve your problem: https://github.com/bitcoin/bitcoin/pull/19572

A tutorial about using bitcoind zmq: https://bitcoindev.network/accessing-bitcoins-zeromq-interface/

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.