Module Peer_advertisement.Mk

val encoded : ?test_tamper:bool -> id:Com.pubkey -> (Commons.ip * Commons.port * [< `Tcp ]) -> (Com.pubkey option * Com.pubkey option) -> grps:Commons.multicast_group_pubkey list -> rev:int -> ttl:int -> exp:int -> priv_key:Upsycle_router__Commons.privkey -> string