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 1TZPy4-0001DX-2Z for bitcoin-development@lists.sourceforge.net; Fri, 16 Nov 2012 17:44:40 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.212.181 as permitted sender) client-ip=209.85.212.181; envelope-from=mh.in.england@gmail.com; helo=mail-wi0-f181.google.com; Received: from mail-wi0-f181.google.com ([209.85.212.181]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1TZPy3-0003ln-5T for bitcoin-development@lists.sourceforge.net; Fri, 16 Nov 2012 17:44:40 +0000 Received: by mail-wi0-f181.google.com with SMTP id hm2so1549532wib.10 for ; Fri, 16 Nov 2012 09:44:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.193.220 with SMTP id k70mr2360484wen.35.1353087873049; Fri, 16 Nov 2012 09:44:33 -0800 (PST) Sender: mh.in.england@gmail.com Received: by 10.216.236.30 with HTTP; Fri, 16 Nov 2012 09:44:32 -0800 (PST) In-Reply-To: References: Date: Fri, 16 Nov 2012 18:44:32 +0100 X-Google-Sender-Auth: PdC5wTb-7-mB7UeNS3fGihonQCg Message-ID: From: Mike Hearn To: Gregory Maxwell Content-Type: multipart/alternative; boundary=0016e6db2ee605e5e704cea0521f X-Spam-Score: -0.5 (/) 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 (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 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: 1TZPy3-0003ln-5T Cc: Bitcoin Development Subject: Re: [Bitcoin-development] Electrum security model concerns 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: Fri, 16 Nov 2012 17:44:40 -0000 --0016e6db2ee605e5e704cea0521f Content-Type: text/plain; charset=UTF-8 BTW have you checked the code? I took a quick look and didn't see things I was expecting to see. In particular I couldn't find any code that manages wallet state in the presence of re-orgs. It appears to check that transactions appeared in the block chain, but if there's a chain switch it's not clear to me the wallet will be in the right state. I saw a message from Thomas on his thread saying something like "can't spend coins bug happens when there's a re-org and the server gives you the wrong histories, to fix it reset your wallet and switch to a new server" .... which to me rather implies there's no re-org handling at all. If Electrum does end up doing all SPV work correctly, how is it different to MultiBit? Just the deterministic wallet seeding? On Fri, Nov 16, 2012 at 4:59 PM, Mike Hearn wrote: > Great to hear that. --0016e6db2ee605e5e704cea0521f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable BTW have you checked the code? I took a quick look and didn't see thing= s I was expecting to see. In particular I couldn't find any code that m= anages wallet state in the presence of re-orgs. It appears to check that tr= ansactions appeared in the block chain, but if there's a chain switch i= t's not clear to me the wallet will be in the right state.

I saw a message from Thomas on his thread saying something l= ike "can't spend coins bug happens when there's a re-org and t= he server gives you the wrong histories, to fix it reset your wallet and sw= itch to a new server" .... which to me rather implies there's no r= e-org handling at all.

If Electrum does end up doing all SPV work correctly, h= ow is it different to MultiBit? Just the deterministic wallet seeding?


On Fri, Nov = 16, 2012 at 4:59 PM, Mike Hearn <mike@plan99.net> wrote:
Great to hear that.

--0016e6db2ee605e5e704cea0521f--