Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1WwoYq-0004JF-VD for bitcoin-development@lists.sourceforge.net; Tue, 17 Jun 2014 08:16:08 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.223.176 as permitted sender) client-ip=209.85.223.176; envelope-from=laanwj@gmail.com; helo=mail-ie0-f176.google.com; Received: from mail-ie0-f176.google.com ([209.85.223.176]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1WwoYp-0007uW-4J for bitcoin-development@lists.sourceforge.net; Tue, 17 Jun 2014 08:16:08 +0000 Received: by mail-ie0-f176.google.com with SMTP id rd18so6030880iec.21 for ; Tue, 17 Jun 2014 01:16:01 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.43.125.199 with SMTP id gt7mr909416icc.70.1402992961288; Tue, 17 Jun 2014 01:16:01 -0700 (PDT) Received: by 10.64.60.195 with HTTP; Tue, 17 Jun 2014 01:16:01 -0700 (PDT) In-Reply-To: References: <20140617072351.GA7205@savin> <2024964.4FECq06JhC@crushinator> Date: Tue, 17 Jun 2014 10:16:01 +0200 Message-ID: From: Wladimir To: Matt Whitlock Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (laanwj[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1WwoYp-0007uW-4J Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Proposal: allocate 8 service bits for experimental use 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: Tue, 17 Jun 2014 08:16:09 -0000 On Tue, Jun 17, 2014 at 10:08 AM, Wladimir wrote: > On Tue, Jun 17, 2014 at 10:02 AM, Matt Whitlock wrote: >> On Tuesday, 17 June 2014, at 9:57 am, Wladimir wrote: >>> Yes, as I said in the github topic >>> (https://github.com/bitcoin/bitcoin/pull/4351) I suggest we adapt a >>> string-based name space for extensions. >> >> Why use textual strings? These fields are not for human consumption. Why not use UUIDs, which are fixed length and will not waste as much bandwidth in the protocol? Or if you'd prefer a hierarchical namespace, you could use OIDs, a la ASN.1. Also it IS useful for these fields to be human readable for statistics, peer list views and such. When encountering a new, unknown extension when connecting to a node it's much more useful to get a google-able string to find out what it is about, than some long hexadecimal or dotted-number identifier. Wladimir