summaryrefslogtreecommitdiff
path: root/88/301716d89aabb56a689b1185b1f7f44ea4fd7b
blob: 1d14257ddf295c1f55c139861a302cc3355a4fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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 <jgarzik@exmulti.com>) 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 <bitcoin-development@lists.sourceforge.net>;
	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: <CA+8xBpe9D=poPyJ=soGdN3sovqdmvyGGij6FM8PHYGUB5aUkzQ@mail.gmail.com>
	<1364035346.19716.YahooMailNeo@web161601.mail.bf1.yahoo.com>
	<201303231452.23042.luke@dashjr.org>
Date: Sat, 23 Mar 2013 11:24:41 -0400
Message-ID: <CA+8xBpfvTQ9pEygPmeSf0guOsECu6uecOG-KB=GVXtPKNo23ZQ@mail.gmail.com>
From: Jeff Garzik <jgarzik@exmulti.com>
To: Luke-Jr <luke@dashjr.org>
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: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Sat, 23 Mar 2013 15:24:49 -0000

On Sat, Mar 23, 2013 at 10:52 AM, Luke-Jr <luke@dashjr.org> 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