Module Message.Peer_advertisement

type addr_type =
  1. | Tcp
  2. | Udp
type addr =
  1. | Addr of {
    1. addr_type : addr_type;
    2. ip : Commons.ip;
    3. port : Commons.port;
    }
type service_type_peer_discovery =
  1. | Peer_discovery
type service_type_pubsub =
  1. | Pubsub
type 'service_type peer_service =
  1. | Peer_service of {
    1. service_type : 'service_type;
    2. service_addr : Com.pubkey;
    }
type revision =
  1. | Revision of int
type t =
  1. | Peer_advertisement of {
    1. id : Com.pubkey;
    2. addr : addr;
    3. svcs : peer_services;
    4. grps : Commons.multicast_group_pubkey list;
    5. rev : revision;
    6. ttl : Com.ttl;
    7. exp : Com.expiry;
    8. sign : Com.signature;
    }
module T : sig ... end
module Acc : sig ... end
module Encode : sig ... end
module Decode : sig ... end
module Pp : sig ... end
module Mk : sig ... end