package tezos-dal-node-lib

  1. Overview
  2. Docs
Tezos: `tezos-dal-node` library

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/tezos-dal-node-lib.gossipsub/Tezos_dal_node_lib_gossipsub/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.