From cb974e87c1e1e346b96b66aaf8758de7644439bb Mon Sep 17 00:00:00 2001 From: Jeromy Date: Wed, 6 Apr 2016 13:06:05 -0700 Subject: [PATCH] rename protocols after discussion --- p2p/protocol/identify/id.go | 2 +- p2p/protocol/relay/relay.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/protocol/identify/id.go b/p2p/protocol/identify/id.go index 0eeb6f2..76212e5 100644 --- a/p2p/protocol/identify/id.go +++ b/p2p/protocol/identify/id.go @@ -22,7 +22,7 @@ import ( var log = logging.Logger("net/identify") // ID is the protocol.ID of the Identify Service. -const ID = "/ipfs/identify/1.0.0" +const ID = "/ipfs/id/1.0.0" // LibP2PVersion holds the current protocol version for a client running this code // TODO(jbenet): fix the versioning mess. diff --git a/p2p/protocol/relay/relay.go b/p2p/protocol/relay/relay.go index cd69e41..f46e4a5 100644 --- a/p2p/protocol/relay/relay.go +++ b/p2p/protocol/relay/relay.go @@ -17,7 +17,7 @@ import ( var log = logging.Logger("github.com/ipfs/go-libp2p/p2p/protocol/relay") // ID is the protocol.ID of the Relay Service. -const ID protocol.ID = "/ipfs/relay/0.1.0" +const ID protocol.ID = "/ipfs/relay/line/0.1.0" // Relay is a structure that implements ProtocolRelay. // It is a simple relay service which forwards traffic -- GitLab