package tezos-shell-services

  1. Overview
  2. Docs

Indicates how an operation hash has been encountered:

  1. Injected : The corresponding operation has been directly injected into the node.
  2. Notified peer_id : The hash is present in a mempool advertised by peer_id.
  3. Arrived : The node was fetching and has just received the corresponding operation.

Other serves as default value for an argument, but in practice it is not used atm (June 2021).

This module is used in Event.Banned_operation_encountered.

type situation =
  1. | Injected
  2. | Arrived
  3. | Notified of Tezos_base.P2p_peer_id.t option
  4. | Other
val encoding : t Data_encoding.t
val pp : Format.formatter -> t -> unit