What is Nostr?
Prayank [ARCHIVE] /
npub1xwd…2lxh
2023-06-07 23:00:41
in reply to nevent1q…la5h

Prayank [ARCHIVE] on Nostr: πŸ“… Original date posted:2021-11-27 πŸ“ Original message:Hi Ali, Not sure if this ...

πŸ“… Original date posted:2021-11-27
πŸ“ Original message: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:



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20211127/d9d4e66e/attachment.html>;
Author Public Key
npub1xwdym5sne88xldc5809azwrgasp60ze27easgew8e7p3vj7qr7ssjc2lxh