No ZMQ sequence notifications on Regtest #30853

issue ouziel-slama openend this issue on September 9, 2024
  1. ouziel-slama commented at 1:09 pm on September 9, 2024: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    No message received in the sequence feed when a transaction is added to the mempool.

    Expected behaviour

    We should receive a ZMQ notification when a new transaction enters the mempool. This works fine on mainnet.

    Steps to reproduce

    configure Bictoin Core with:

    0[regtest]
    1zmqpubrawtx=tcp://0.0.0.0:29332
    2zmqpubhashtx=tcp://0.0.0.0:29332
    3zmqpubsequence=tcp://0.0.0.0:29332
    4zmqpubrawblock=tcp://0.0.0.0:29333
    

    Connect to ZMQ and broadcast a transaction. Here is the code used: https://github.com/CounterpartyXCP/counterparty-core/blob/master/counterparty-core/counterpartycore/lib/follow.py

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    v27.0

    Operating system and version

    Ubuntu 22.04.4 LTS

    Machine specifications

    No response

  2. pinheadmz commented at 1:32 pm on September 9, 2024: member
    There is a test for zmq sequence (interface_zmq.py) so it must be working on regtest. Compare your code to the test_sequence() block?
  3. maflcko added the label RPC/REST/ZMQ on Sep 9, 2024
  4. maflcko added the label Questions and Help on Sep 9, 2024
  5. ouziel-slama commented at 6:29 pm on September 9, 2024: none
    Thanks for the link! actually it works fine, the error comes from elsewhere! sorry for the false alarm!
  6. ouziel-slama closed this on Sep 9, 2024


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me