jito-foundation / jito-relayer

Jito Foundation's Transaction Relayer
http://jito.network/
Apache License 2.0
59 stars 27 forks source link

unable to run private relayer without a block-engine #132

Open offerm opened 1 month ago

offerm commented 1 month ago

Is there a way to run local relayer without specifying a block-engine? If I don't specify the relay exit with a panic (when getting a packet)

thread 'forwarder_thread_0' panicked at transaction-relayer/src/forwarder.rs:92:45:
error sending packet batch to block engine handler

Att: @buffalu

jedleggett commented 1 month ago

It's meant to be optional. I will look into the implementation.

In the meantime, setting the following flag should work:

    /// Disable Mempool forwarding
    #[arg(long, env, default_value_t = false)]
    disable_mempool: bool,
offerm commented 1 month ago

yep, I confirm the workaround - thank you