Module Reader.Libp2pConfig

type struct_t = [
| `Libp2pConfig_c90f65b6852b9c22
]
val has_statedir : t -> bool
val statedir_get : t -> string
val has_private_key : t -> bool
val private_key_get : t -> string
val has_network_id : t -> bool
val network_id_get : t -> string
val has_listen_on : t -> bool
val listen_on_get : t -> ( Capnp.Message.ro, Multiaddr.t, array_t ) Capnp.Array.t
val listen_on_get_list : t -> Multiaddr.t list
val listen_on_get_array : t -> Multiaddr.t array
val metrics_port_get : t -> int
val has_external_multiaddr : t -> bool
val external_multiaddr_get : t -> Multiaddr.t
val unsafe_no_trust_ip_get : t -> bool
val flood_get : t -> bool
val peer_exchange_get : t -> bool
val has_direct_peers : t -> bool
val direct_peers_get : t -> ( Capnp.Message.ro, Multiaddr.t, array_t ) Capnp.Array.t
val direct_peers_get_list : t -> Multiaddr.t list
val direct_peers_get_array : t -> Multiaddr.t array
val has_seed_peers : t -> bool
val seed_peers_get : t -> ( Capnp.Message.ro, Multiaddr.t, array_t ) Capnp.Array.t
val seed_peers_get_list : t -> Multiaddr.t list
val seed_peers_get_array : t -> Multiaddr.t array
val has_gating_config : t -> bool
val gating_config_get : t -> GatingConfig.t
val max_connections_get : t -> Stdint.Uint32.t
val max_connections_get_int_exn : t -> int
val validation_queue_size_get : t -> Stdint.Uint32.t
val validation_queue_size_get_int_exn : t -> int
val peer_protection_ratio_get : t -> float
val min_connections_get : t -> Stdint.Uint32.t
val min_connections_get_int_exn : t -> int
val has_known_private_ip_nets : t -> bool
val known_private_ip_nets_get : t -> ( Capnp.Message.ro, string, array_t ) Capnp.Array.t
val known_private_ip_nets_get_list : t -> string list
val known_private_ip_nets_get_array : t -> string array
val has_topic_config : t -> bool
val topic_config_get : t -> ( Capnp.Message.ro, TopicLevel.t, array_t ) Capnp.Array.t
val topic_config_get_list : t -> TopicLevel.t list
val topic_config_get_array : t -> TopicLevel.t array
val of_message : 'cap message_t -> t
val of_builder : struct_t builder_t -> t