package tezos-dal-node-services

  1. Overview
  2. Docs

Module Types.TopicSource

A topic is defined by a public key hash of an attester and a slot index.

  • A slot producer tracks the topic associated to a given slot index for all the public key-hashes;
  • The attester tracks its own public key hash for all the slot indices;
  • A slot consumer tracks topics associated to a given slot index and enough public key-hashes so that the number of covered shards is enough to recover the slot data.
Sourcetype t = {
  1. slot_index : int;
  2. pkh : Tezos_base.TzPervasives.Signature.Public_key_hash.t;
}

Definition of a topic used for gossipsub.

include Tezos_base.TzPervasives.PRINTABLE with type t := t
Sourceval pp : Format.formatter -> t -> unit
include Tezos_base.TzPervasives.COMPARABLE with type t := t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
Sourcemodule Set : Tezos_base.TzPervasives.Set.S with type elt = t
Sourcemodule Map : Tezos_base.TzPervasives.Map.S with type key = t
OCaml

Innovation. Community. Security.