package tezos-dal-node-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Module for message_id

include Tezos_gossipsub.Gossipsub_intf.ITERABLE with type t = Tezos_dal_node_services.Types.Message_id.t
include Tezos_base.TzPervasives.COMPARABLE with type t := t
val (=) : t -> t -> bool

x = y iff compare x y = 0

val (<>) : t -> t -> bool

x <> y iff compare x y <> 0

val (<) : t -> t -> bool

x < y iff compare x y < 0

val (<=) : t -> t -> bool

x <= y iff compare x y <= 0

val (>=) : t -> t -> bool

x >= y iff compare x y >= 0

val (>) : t -> t -> bool

x > y iff compare x y > 0

val compare : t -> t -> int

compare an alias for the functor parameter's compare function

val equal : t -> t -> bool

equal x y iff compare x y = 0

val max : t -> t -> t

max x y is x if x >= y otherwise it is y

val min : t -> t -> t

min x y is x if x <= y otherwise it is y

include Tezos_base.TzPervasives.PRINTABLE with type t := t
val pp : Format.formatter -> t -> unit
module Set : Tezos_base.TzPervasives.Set.S with type elt = t
module Map : Tezos_base.TzPervasives.Map.S with type key = t
val get_topic : t -> Topic.t

Computes the topic of the given message id.

OCaml

Innovation. Community. Security.