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/tNp2x5y3You 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>
Published at
2023-06-07 23:00:41Event JSON
{
"id": "ca02e0ec4259f90da8f7058d0f4d6649eb2aad5ff7e08f039e3fd5a454162edf",
"pubkey": "339a4dd213c9ce6fb7143bcbd13868ec03a78b2af67b0465c7cf83164bc01fa1",
"created_at": 1686178841,
"kind": 1,
"tags": [
[
"e",
"73bd2fcc65905c590b1efffa4177a6a9c04f9ffb7c4952c1416d51008eae18e7",
"",
"root"
],
[
"e",
"2b2aaae28c2a5d9afc75ec6bccaeb78dd6208067a1af76c803cff662f85feb3d",
"",
"reply"
],
[
"p",
"300ba94cc910da0a8903ca9e40487283545661c726c81fd5942e11a0683ad617"
]
],
"content": "π
Original date posted:2021-11-27\nπ Original message:Hi Ali,\n\nNot sure if this is exactly what you are looking for but maybe trying to solve this I might also learn few things:\n\nSave zmqpubsequence=tcp://127.0.0.1:28332 in bitcoin.conf\n\nRun bitcoind\n\nRun this python script: https://pastebin.com/raw/tNp2x5y3\n\nYou will see results like this: \nhttps://i.imgur.com/xKzFJbl.png\nhttps://i.imgur.com/gpsTTHZ.png\n\nA - Accepted, C- Connect (block) and R- Removal in the above screenshots\n\nIf 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.\n\nOther alternatives can be debug=mempool and reading debug.log for changes without polling.\n\n-- \nPrayank\n\nA3B1 E430 2298 178F\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20211127/d9d4e66e/attachment.html\u003e",
"sig": "fced006894355db94c944dd49bc44df136d830f7cf471a46710e322196d4e327478c6c5bbbe36118f2fac3498c25a8a388594aec0e2d5f92c577eded2008392f"
}