From: Prayank <prayank@tutanota.de>
To: ali@notatether.com
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only publish unconfirmed transactions: How?
Date: Sat, 27 Nov 2021 14:42:38 +0100 (CET) [thread overview]
Message-ID: <MpWcX_f--F-2@tutanota.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 777 bytes --]
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:
https://i.imgur.com/xKzFJbl.png
https://i.imgur.com/gpsTTHZ.png
A - Accepted, C- Connect (block) and R- Removal in the above screenshots
If you are looking for unconfirmed transactions printed in sequence I think this should help. Since transactions can be printed twice (accept,remove) in this case as well, python script can be modified to manage this IMO.
Other alternatives can be debug=mempool and reading debug.log for changes without polling.
--
Prayank
A3B1 E430 2298 178F
[-- Attachment #2: Type: text/html, Size: 1465 bytes --]
next reply other threads:[~2021-11-27 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-27 13:42 Prayank [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-26 16:56 [bitcoin-dev] Trying to patch Core ZMQ "rawtx" topic to only publish unconfirmed transactions: How? Ali Sherief
2021-11-29 9:32 ` 0xB10C
2021-11-29 14:10 ` LORD HIS EXCELLENCY JAMES HRMH
2021-11-29 14:13 ` Ali Sherief
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MpWcX_f--F-2@tutanota.de \
--to=prayank@tutanota.de \
--cc=ali@notatether.com \
--cc=bitcoin-dev@lists.linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox