Module Evm_node_lib_dev.Services_backend_sig

module type S = sig ... end
module type Backend = sig ... end
type Tezos_base.TzPervasives.error +=
  1. | IC_disabled
type endpoint =
  1. | Rpc of Uri.t
  2. | Websocket of Websocket_client.t
  3. | Block_producer of preconfirm_transactions
type callback_status = [
  1. | `Accepted
  2. | `Confirmed
  3. | `Dropped
  4. | `Refused
]
type 'a variant_callback = 'a -> unit Lwt.t

A callback is called by the Tx_queue at various stages of a submitted transaction's life.

The next tick after its insertion in the queue, a transaction is submitted to the relay node within a batch of eth_sendRawTransaction requests.

  • Depending on the result of the RPC, its callback is called with either `Accepted or `Refused).
  • As soon as the transaction appears in a blueprint, its callback is called with `Confirmed. If this does not happen before 2s, the callback is called with `Dropped.