From c4135db7288579b2503007d1de88936e33d90033 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 29 May 2014 11:59:49 -0500 Subject: [PATCH] Move default network ports to btcnet package. The default network ports are not really part of the wire protocol rather they are part of a network parameters. Thus, this commit moves them to the btcnet package. --- protocol.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/protocol.go b/protocol.go index 1eb4f424..d5de61cb 100644 --- a/protocol.go +++ b/protocol.go @@ -11,17 +11,6 @@ import ( ) const ( - // MainPort is the port used by default on the main network. - MainPort = "8333" - - // TestNetPort is the port used by default on the test network (version - // 3). - TestNetPort = "18333" - - // RegressionTestPort is the port used by default on the regression test - // network. - RegressionTestPort = "18444" - // ProtocolVersion is the latest protocol version this package supports. ProtocolVersion uint32 = 70002