package octez-shell-libs

  1. Overview
  2. No Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-shell-libs.shell-services/Tezos_shell_services/Prevalidator_worker_state/Request/index.html

Module Prevalidator_worker_state.RequestSource

Sourcetype ('a, 'b) t =
  1. | Flush : Tezos_base.TzPervasives.Block_hash.t * Chain_validator_worker_state.update * Tezos_base.TzPervasives.Block_hash.Set.t * Tezos_base.TzPervasives.Operation_hash.Set.t -> (unit, Tezos_base.TzPervasives.error Tezos_base.TzPervasives.trace) t
    (*

    The chain changed, the mempool is being notified of the new state.

    *)
  2. | Notify : Tezos_base.P2p_peer.Id.t * Tezos_base.Mempool.t -> (unit, Tezos_base.TzPervasives.Empty.t) t
    (*

    The given peer sent this mempool.

    *)
  3. | Leftover : (unit, Tezos_base.TzPervasives.Empty.t) t
    (*

    Operations not yet processed should be processed.

    *)
  4. | Inject : {
    1. op : Tezos_base.Operation.t;
    2. force : bool;
    } -> (unit, Tezos_base.TzPervasives.error Tezos_base.TzPervasives.trace) t
    (*

    Operation has been locally injected (sent) to the node.

    *)
  5. | Arrived : Tezos_base.TzPervasives.Operation_hash.t * Tezos_base.Operation.t -> (unit, Tezos_base.TzPervasives.Empty.t) t
    (*

    Operation was fetched by the node.

    *)
  6. | Advertise : (unit, Tezos_base.TzPervasives.Empty.t) t
    (*

    Current mempool should be advertised to all known peers.

    *)
  7. | Ban : Tezos_base.TzPervasives.Operation_hash.t -> (unit, Tezos_base.TzPervasives.error Tezos_base.TzPervasives.trace) t
    (*

    User requested the node to ban operation with this hash.

    *)
Sourcetype view =
  1. | View : (_, _) t -> view
Sourceval view : (_, _) t -> view
Sourceval encoding : view Tezos_base.TzPervasives.Data_encoding.t
Sourceval pp : Format.formatter -> view -> unit
OCaml

Innovation. Community. Security.