package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-libs.tezos-gossipsub/Tezos_gossipsub/Worker/Introspection/index.html

Module Worker.IntrospectionSource

Introspection and stats facilities

Sourcetype stats = private {
  1. mutable count_topics : int64;
    (*

    Counts the number of topics of the node. It's the diff between Join and Leave topics events.

    *)
  2. mutable count_connections : int64;
    (*

    Counts the number of connections of the node. It's the diff between New_connection and Disconnection events.

    *)
  3. mutable count_bootstrap_connections : int64;
    (*

    Counts the number of connections of the node to bootstrap peers. It's a refinement of count_connections for when the remote peer declares itself as a bootstrap peer.

    *)
  4. mutable count_sent_app_messages : int64;
    (*

    Count sent app messages.

    *)
  5. mutable count_sent_grafts : int64;
    (*

    Count sent grafts.

    *)
  6. mutable count_sent_prunes : int64;
    (*

    Count sent prunes.

    *)
  7. mutable count_sent_ihaves : int64;
    (*

    Count sent ihaves.

    *)
  8. mutable count_sent_iwants : int64;
    (*

    Count sent iwants.

    *)
  9. mutable count_recv_valid_app_messages : int64;
    (*

    Count received app messages that are known to be valid.

    *)
  10. mutable count_recv_invalid_app_messages : int64;
    (*

    Count received app messages that are known to be invalid.

    *)
  11. mutable count_recv_unknown_validity_app_messages : int64;
    (*

    Count received app messages we won't validate.

    *)
  12. mutable count_recv_grafts : int64;
    (*

    Count successfully received & processed grafts.

    *)
  13. mutable count_recv_prunes : int64;
    (*

    Count successfully received & processed prunes.

    *)
  14. mutable count_recv_ihaves : int64;
    (*

    Count successfully received & processed ihaves.

    *)
  15. mutable count_recv_iwants : int64;
    (*

    Count successfully received & processed iwants.

    *)
}

A record containing some stats about what happened in the Gossipsub worker.

Sourceval empty_stats : unit -> stats
OCaml

Innovation. Community. Security.