Re: [bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only publish unconfirmed transactions: How?

2021-11-29 Thread Ali Sherief via bitcoin-dev
C via bitcoin-dev > Sent: Monday, 29 November 2021 8:32 PM > To: Ali Sherief ; Bitcoin Protocol Discussion > > Subject: Re: [bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only > publish unconfirmed transactions: How? > > Hi Ali, > > I've run into

Re: [bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only publish unconfirmed transactions: How?

2021-11-29 Thread LORD HIS EXCELLENCY JAMES HRMH via bitcoin-dev
__ From: bitcoin-dev on behalf of 0xB10C via bitcoin-dev Sent: Monday, 29 November 2021 8:32 PM To: Ali Sherief ; Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only publish unconfirmed transactions: How? Hi Ali, I've run into this multipl

Re: [bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only publish unconfirmed transactions: How?

2021-11-29 Thread 0xB10C via bitcoin-dev
Hi Ali, I've run into this multiple times myself. I've opened a draft PR [0] adding a rawmempooltx publisher. You're right. In zmq/zmqnotificationinterface.cpp the CZMQNotificationInterface is notified about TransactionAddedToMempool. Currently, this calls NotifyTransaction() (the publisher with

Re: [bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only publish unconfirmed transactions: How?

2021-11-27 Thread Prayank via bitcoin-dev
Hi Ali, Not sure if this is exactly what you are looking for but maybe trying to solve this I might also learn few things: Save zmqpubsequence=tcp://127.0.0.1:28332 in bitcoin.conf Run bitcoind Run this python script: https://pastebin.com/raw/tNp2x5y3 You will see results like this:

[bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only publish unconfirmed transactions: How?

2021-11-26 Thread Ali Sherief via bitcoin-dev
This has also been posted on Bitcointalk forum: https://bitcointalk.org/index.php?topic=5373341.msg58539261#msg58539261 I have republished it here hoping someone more knowledgeable can post some insight about this. It appears that the ZeroMQ topic I'm listening to, "rawtx", not only emits