Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UJQJM-0005nH-UO for bitcoin-development@lists.sourceforge.net; Sat, 23 Mar 2013 15:24:48 +0000 X-ACL-Warn: Received: from mail-pa0-f43.google.com ([209.85.220.43]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1UJQJL-0001Qm-OD for bitcoin-development@lists.sourceforge.net; Sat, 23 Mar 2013 15:24:48 +0000 Received: by mail-pa0-f43.google.com with SMTP id rl6so376361pac.2 for ; Sat, 23 Mar 2013 08:24:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=tbhXH7zmp3Mh62c3D4Jm/U5aFjQ+hw5WFytUIUlfa44=; b=W7+NVjKd0LMQc+CCiJya9i+Q4YkD5X6msHc5KCL1TPMh2IHeFnJfTtuaOm4rcD65KI Hb1pEShCZr1+Bj3b/5mAqMwx9WddPcWWS1p0mkGIAcBXxrCWQPYVGzhYEZB0OZLmTQRe +gHSuduHNRtCiGPn9FE9/lgcFrlgYrp4OsfnegubowG41AiHkNGwFc1a+rG/ZvYKnA7w nGnM/H5kKyr4Ivz5GZn4743mG6h044auhiJinF8gWiQqom6LZ3ja8YwZbabC2So7rPCa R14khBphA+zdgOfH9Zs2KCFwQBT8/DdGgoPRF0AreNoJxQltAqMSGUmZt/EKqYkgnB4Y Yyow== MIME-Version: 1.0 X-Received: by 10.68.238.163 with SMTP id vl3mr8255309pbc.177.1364052281847; Sat, 23 Mar 2013 08:24:41 -0700 (PDT) Received: by 10.68.146.133 with HTTP; Sat, 23 Mar 2013 08:24:41 -0700 (PDT) X-Originating-IP: [99.43.178.25] In-Reply-To: <201303231452.23042.luke@dashjr.org> References: <1364035346.19716.YahooMailNeo@web161601.mail.bf1.yahoo.com> <201303231452.23042.luke@dashjr.org> Date: Sat, 23 Mar 2013 11:24:41 -0400 Message-ID: From: Jeff Garzik To: Luke-Jr Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQka3aGDDUauPHm0ObzjEAtxLdf9ZCqLoX8cGivBfoVyT8cMEkqVnYaLBCsHr4poVR2eLugh X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1UJQJL-0001Qm-OD Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] A bitcoin UDP P2P protocol extension X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Mar 2013 15:24:49 -0000 On Sat, Mar 23, 2013 at 10:52 AM, Luke-Jr wrote: > On Saturday, March 23, 2013 10:42:26 AM Randy Willis wrote: >> Introducing super-nodes with thousands of connected peers can greatly help >> here. > > UDP is connectionless. > I would hope any UDP bitcoin protocol doesn't try to emulate a connection. :/ It depends on the usage. Simply broadcasting a TX or INV to a remote peer does not require a connection, clearly... but you probably want to signal acceptance of those messages somehow. But other uses, like subscribing to a broadcast, does require some notion of an association. In the rough draft, a parallel TCP connection with version/verack sequence is required, and you may make use of it if a connection is needed. But that is just one approach. A more robust, heavyweight UDP P2P might be a hole-punching TCP alternative. It's up to the community and results of experimentation. Bittorrent has evolved a full transfer protocol over UDP, to get around firewalls and the like. -- Jeff Garzik exMULTI, Inc. jgarzik@exmulti.com