Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Sfp7l-0004Ih-QM for bitcoin-development@lists.sourceforge.net; Sat, 16 Jun 2012 09:16:53 +0000 X-ACL-Warn: Received: from nm31-vm5.bullet.mail.ne1.yahoo.com ([98.138.229.45]) by sog-mx-2.v43.ch3.sourceforge.com with smtp (Exim 4.76) id 1Sfp7k-0008I2-Me for bitcoin-development@lists.sourceforge.net; Sat, 16 Jun 2012 09:16:53 +0000 Received: from [98.138.90.55] by nm31.bullet.mail.ne1.yahoo.com with NNFMP; 16 Jun 2012 09:16:47 -0000 Received: from [98.138.89.194] by tm8.bullet.mail.ne1.yahoo.com with NNFMP; 16 Jun 2012 09:16:46 -0000 Received: from [127.0.0.1] by omp1052.mail.ne1.yahoo.com with NNFMP; 16 Jun 2012 09:16:46 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 842119.36821.bm@omp1052.mail.ne1.yahoo.com Received: (qmail 41015 invoked by uid 60001); 16 Jun 2012 09:16:46 -0000 X-YMail-OSG: dY9sGQsVM1myGvAiwiUXYDM6zGEqj0kulTVsxp8gWPnX0Ka WqgXOCLING_vueX6bAR0tA_uVxvIvMu..CSna8.KXfE7KsxreO9XuVTr4S.Y dsgRLEreg3WJAElKbdkz_dVRwW3O5D331.OaJr9y8Ny2dw256qWt92eMYEu9 W_an63GIE1R_4oCRMR9nf2FTMj3c1U.l1ZHOwg8ehIeMWx9b3vFrgfRIm.ME j.Cpv_sayNPlos74nEziMO8svUhXxucC8H55ymYxQfxvkQ0zHFNyNfusdbqF SlXYJSxumWI1Whqjy_E8erixN77sdYtnGnNAVqkwic7vcf_uvGph4JD38Oe1 BcXRRfl1sraDy5KTo_rwc8jYrIh9MLRESoZ3j4KezLNhGtaPi5I5q6KuMRk4 TNUrlpbphq6VcP.hpWG6J51tuots4jHayaJN3jwPFuqEaCeB2b1ybfNPProl _cCf7uAxFx4t5AH7dlFewnrvK.Db_cD_h.d0MOGB5RLR.a9DaRBhShpKc4Rs Ckj11.AKhEw-- Received: from [178.5.23.109] by web121005.mail.ne1.yahoo.com via HTTP; Sat, 16 Jun 2012 02:16:46 PDT X-Mailer: YahooMailWebService/0.8.118.349524 References: <1339810493.15660.YahooMailNeo@web121004.mail.ne1.yahoo.com> <201206160916.24485.andyparkins@gmail.com> Message-ID: <1339838206.26361.YahooMailNeo@web121005.mail.ne1.yahoo.com> Date: Sat, 16 Jun 2012 02:16:46 -0700 (PDT) From: Amir Taaki To: "bitcoin-development@lists.sourceforge.net" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [98.138.229.45 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zgenjix[at]yahoo.com) -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -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 0.0 FSL_FREEMAIL_2 FSL_FREEMAIL_2 0.0 FSL_FREEMAIL_1 FSL_FREEMAIL_1 X-Headers-End: 1Sfp7k-0008I2-Me 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 Reply-To: Amir Taaki List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2012 09:16:53 -0000 > I'm just afraid that the currently simple P2P protocol will turn into a = =0Azoo of complicated (and potentially buggy/insecure) interactions. =0A=0A= =0AThis is my biggest fear too. I would rather be extremely conservative in= making any changes to the protocol unless absolutely needed. That includes= the bloom filters which take away the fact that Bitcoin is stateless.=0A= =0AI was discussing this with another developer who mentioned something int= eresting: that always in the lifecycle of system's development, you see inc= reasing complexity during its initial lifecycle as the field is being explo= red. At some later point, the technology matures and becomes standardised. = At that point enough is known that the system snaps together and the cruft = can be cut away to reduce the system down to core principles.=0A=0AIt's an = interesting viewpoint to consider. I do however advise erring on the side o= f caution. Maybe there needs to a minimum schedule time before a new extens= ion can be added to the protocol (except security fixes). If we're not care= ful, the protocol will become enormously huge and kludgy. However maybe as = that developer pointed out, trying to stall the inevitable is slowing the l= ong-term evolution of Bitcoin down.=0A=0A=0A_______________________________= _=0AFrom: Wladimir =0ATo: Andy Parkins =0ACc: bitcoin-development@lists.sourceforge.net =0ASent: Saturday, J= une 16, 2012 10:42 AM=0ASubject: Re: [Bitcoin-development] Proposed new P2P= command and response: getcmds, cmdlist=0A=0A=0AOn Sat, Jun 16, 2012 at 10:= 16 AM, Andy Parkins wrote:=0A=0A=0A>It's less of a = problem in a (nearly) stateless protocol like Bitcoin.=0A>=0A=0AIt's curren= tly (nearly) stateless, however it would be short-sighted to think it will = stay that way. State is being introduced as we speak; for example, connecti= on-specific filters.=0A=0AI like the idea of a capabilities command; as tim= e goes on and the ecosystem=0A>of thin/spv/semi-thin/headers-only/blocks-on= -demand/reverse-search-=0A>blockchain/memory-pool-query clients becomes mor= e varied, it's going to be=0A>more an more important. =A0The particular exa= mple that occurs is thin clients=0A>connecting to the network are going to = want to ensure they are connected to=0A>at least one non-thin client.=0A>= =0A=0AWhich is a perfectly reasonable requirement. However, one could simpl= y standardize what a 'thin client' and what a 'thick client' does and offer= s (at a certain version level), without having to explicitly enumerate ever= ything over the protocol.=A0=0A=0AThis also makes it easier to deprecate (l= ack of) certain features later on. You can simply drop support for protocol= versions before a certain number (which has happened before). With the ext= ension system this is much harder, which likely means you keep certain work= arounds forever.=A0=0A=0ALetting the node know of each others capabilities = at connection time helps somewhat. It'd allow refusing clients that do not = implement a certain feature. Then again, to me it's unclear what this wins = compared to incremental protocol versions with clear requirements.=A0=0A=0A= I'm just afraid that the currently simple P2P protocol will turn into a zoo= of complicated (and potentially buggy/insecure) interactions.=A0=0A=0ASo m= aybe a capability system is a good idea but then the granularity should be = large, not command-level. The interaction between protocol versions and cap= abilities needs to be defined as well. Does offering "getdata" at protocol = version 10 mean the same as offering it at protocol version 11"? Probably n= ot guaranteed. The arguments might have changed. So it's not entirely self-= documenting either.=0A=0AWladimir=0A=0A------------------------------------= ------------------------------------------=0ALive Security Virtual Conferen= ce=0AExclusive live event will cover all the ways today's security and =0At= hreat landscape has changed and how IT managers can respond. Discussions = =0Awill include endpoint security, mobile security and the latest in malwar= e =0Athreats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/=0A_= ______________________________________________=0ABitcoin-development mailin= g list=0ABitcoin-development@lists.sourceforge.net=0Ahttps://lists.sourcefo= rge.net/lists/listinfo/bitcoin-development