Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SfoBP-0002i9-RS for bitcoin-development@lists.sourceforge.net; Sat, 16 Jun 2012 08:16:35 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.175 as permitted sender) client-ip=74.125.82.175; envelope-from=andyparkins@gmail.com; helo=mail-we0-f175.google.com; Received: from mail-we0-f175.google.com ([74.125.82.175]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1SfoBP-00014z-6h for bitcoin-development@lists.sourceforge.net; Sat, 16 Jun 2012 08:16:35 +0000 Received: by werg55 with SMTP id g55so2920608wer.34 for ; Sat, 16 Jun 2012 01:16:29 -0700 (PDT) Received: by 10.180.82.198 with SMTP id k6mr9988494wiy.20.1339834588995; Sat, 16 Jun 2012 01:16:28 -0700 (PDT) Received: from grissom.localnet ([91.84.15.31]) by mx.google.com with ESMTPS id gc6sm8813986wib.0.2012.06.16.01.16.28 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Jun 2012 01:16:28 -0700 (PDT) From: Andy Parkins To: bitcoin-development@lists.sourceforge.net Date: Sat, 16 Jun 2012 09:16:24 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-1-686-pae; KDE/4.7.4; i686; ; ) References: <1339810493.15660.YahooMailNeo@web121004.mail.ne1.yahoo.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201206160916.24485.andyparkins@gmail.com> 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 (andyparkins[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: 1SfoBP-00014z-6h Subject: Re: [Bitcoin-development] Proposed new P2P command and response: getcmds, cmdlist 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, 16 Jun 2012 08:16:35 -0000 On Saturday 16 Jun 2012 07:45:00 Wladimir wrote: > As replied on the github issue: > > Personally I still think it's better to have a clear standardized > "protocol version", that implies what capabilities are supported, > instead of a capability-based system that explicitly lists them. > > Capability-based systems (just look at OpenGL) tend to become > horrendously complex, as you have to take into account all possible > combinations of possible interactions, and constantly check for support > of specific features instead of just comparing a version number. > > Sure, it can be necessary to distinguish between different types of > nodes, but there is no need to make it this fine-grained. It's less of a problem in a (nearly) stateless protocol like Bitcoin. I like the idea of a capabilities command; as time goes on and the ecosystem of thin/spv/semi-thin/headers-only/blocks-on-demand/reverse-search- blockchain/memory-pool-query clients becomes more varied, it's going to be more an more important. The particular example that occurs is thin clients connecting to the network are going to want to ensure they are connected to at least one non-thin client. Andy -- Dr Andy Parkins andyparkins@gmail.com