From 4c7d4a834828867df262284f67ab36587284b102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Tue, 22 Aug 2017 14:41:58 +0200 Subject: [PATCH] P2p: comment out dead code --- src/.merlin | 3 +-- src/Makefile.files | 1 - src/node/net/p2p_discovery.ml | 2 +- src/tezos-deps.opam | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/.merlin b/src/.merlin index 4c077bb95..802ac5fed 100644 --- a/src/.merlin +++ b/src/.merlin @@ -33,7 +33,6 @@ PKG dynlink PKG ezjsonm PKG git PKG git-unix -PKG ipv6-multicast PKG irmin-unix PKG irmin-git PKG irmin @@ -50,4 +49,4 @@ PKG sodium PKG ssl PKG unix PKG zarith -PKG leveldb \ No newline at end of file +PKG leveldb diff --git a/src/Makefile.files b/src/Makefile.files index 8b97ec41e..c7413ea86 100644 --- a/src/Makefile.files +++ b/src/Makefile.files @@ -309,7 +309,6 @@ NODE_PACKAGES := \ cohttp.lwt \ dynlink \ git \ - ipv6-multicast \ irmin-unix \ ocplib-resto.directory \ ssl \ diff --git a/src/node/net/p2p_discovery.ml b/src/node/net/p2p_discovery.ml index 88a81dbf9..a051ffd89 100644 --- a/src/node/net/p2p_discovery.ml +++ b/src/node/net/p2p_discovery.ml @@ -17,6 +17,7 @@ let shutdown () = Lwt.return_unit let inet_addr = Unix.inet_addr_of_string "ff0e::54:455a:3053" +(* module Message = struct let encoding = @@ -61,7 +62,6 @@ let create_socket (iface, disco_addr, disco_port) = Ipv6_multicast.Unix.membership ?iface usock disco_addr `Join ; iface, sock, saddr -(* module Answerer = struct (* Launch an answer machine for the discovery mechanism, takes a diff --git a/src/tezos-deps.opam b/src/tezos-deps.opam index 2e95d6963..ace54d42f 100644 --- a/src/tezos-deps.opam +++ b/src/tezos-deps.opam @@ -22,7 +22,6 @@ depends: [ "ezjsonm" {>= "0.5.0" } "git" "git-unix" - "ipv6-multicast" "irmin" {>= "1.3" } "irmin-unix" "lwt" {>= "3.0.0" }