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.
-
Hi, what are you trying to achieve ?– Antoine PoinsotCommented 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– MortelityCommented Sep 24, 2020 at 12:24
Add a comment
|
1 Answer
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/