From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Qfut7-0006qg-CK for bitcoin-development@lists.sourceforge.net; Sun, 10 Jul 2011 14:21:37 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of bluematt.me designates 208.79.240.5 as permitted sender) client-ip=208.79.240.5; envelope-from=bitcoin-list@bluematt.me; helo=smtpauth.rollernet.us; Received: from smtpauth.rollernet.us ([208.79.240.5]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1Qfut4-0003Gu-31 for bitcoin-development@lists.sourceforge.net; Sun, 10 Jul 2011 14:21:37 +0000 Received: from smtpauth.rollernet.us (localhost [127.0.0.1]) by smtpauth.rollernet.us (Postfix) with ESMTP id 42257594004 for ; Sun, 10 Jul 2011 07:21:12 -0700 (PDT) Received: from mail.bluematt.me (unknown [IPv6:2001:470:9ff2:2:20c:29ff:fe16:f239]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: @bluematt.me) by smtpauth.rollernet.us (Postfix) with ESMTPSA for ; Sun, 10 Jul 2011 07:21:10 -0700 (PDT) Received: from [IPv6:2001:470:9ff2:1:2c0:caff:fe33:858b] (unknown [IPv6:2001:470:9ff2:1:2c0:caff:fe33:858b]) by mail.bluematt.me (Postfix) with ESMTPSA id 1B48DB3BC for ; Sun, 10 Jul 2011 16:21:19 +0200 (CEST) From: Matt Corallo To: bitcoin-development In-Reply-To: References: <1309801974.3423.80.camel@Desktop666> <1309811972.29355.19.camel@Desktop666> <1309828239.29355.28.camel@Desktop666> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-yP30NamqL+a65rXCGxKR" Date: Sun, 10 Jul 2011 16:21:17 +0200 Message-ID: <1310307677.2230.5.camel@Desktop666> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Rollernet-Abuse: Processed by Roller Network Mail Services. Contact abuse@rollernet.us to report violations. Abuse policy: http://rollernet.us/abuse.php X-Rollernet-Submit: Submit ID 138e.4e19b556.4b1d0.0 X-Spam-Score: -1.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 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1Qfut4-0003Gu-31 Subject: Re: [Bitcoin-development] Encrypted Wallet Backward Compatibility 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: Sun, 10 Jul 2011 14:21:37 -0000 --=-yP30NamqL+a65rXCGxKR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable At Luke's suggestion, I did a bit more digging and was able to find a data structure in wallet settings that should cause all versions (well all versions since Bitcoin was in github, and probably before then) to crash on load instead of making a new wallet or opening in some bizarre half-state. I just put an empty object in addrIncoming (nfc what it was used for, but it will get the desire effect and it isnt used anywhere in the code aside from its definition). You can see the commit at https://github.com/TheBlueMatt/bitcoin/commit/2e8383469d7e12a495b3a1dbd41a8= d211ff34fe8 Does anyone disagree and think a different solution would work better? This resolves all known issues and suggestions that I know of on newenc except for the invalid mlock calculations, which I will go fix right now. So...aside from that bug does anyone have any remaining suggestions/blockers on newenc and, if not, can we get final ACKs on it? Matt --=-yP30NamqL+a65rXCGxKR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJOGbVTAAoJEBrh01BD4I5UPfEP/jVKIDoruTYt/mbDu9bCtHmY syyiq+BRWO67OrhD0WkxMv3uyI7uD9voCD7Hp4M2IFr7P2uxhTwEZjcEnrKeuBGR P1fvw8eQFQGO/ToVe0pPMGiwcUhqrbUNON4li/HBPTNgVj68wC+7nGEvatGb474b Q6YCo72bn/j88qpPYEhDmND0dTO8X0CENeeZ2alFzjrkph7pnIqeRdi26US2dpY2 Fz8CswJGSN5CJPt9M23H8TaiSiSxNEknXDGbmmmKgnh1MaBWkZzL/jh2Trq3gyRv 6p69IsC0M307vu9cjgte9bFWJMPfBqsoJNCorkF7Awytv6MqacYYXRO9hiNFDSOR W487DX6ozZg7jgGry+FFl0TwI87wXxzVF5KHBHc5X7Tcm+tf6XYHvnMQZXR3eX55 t5vHeGOinzf9uEXeXdJXn22YaICil/xMF+t/tJ0xulsBaWeDSU6dG9xDMXigieIK U1SlD6/3+Xx6QxxWYrm5dH4tINJtMyfop5eFyXvmQyF4ry2HAm2KT7Z0GRQ5JolX 38uF+LPYzM9NBEojRUTj04hCTkBLVSoSmOuiG+abbPZUuZqBxuhBWLtvs0foMLPh xW9AaU4jdu/pjKfCjtGEFjkwPVjOkOu+PlPWWHAL4ZkOf2y6RXDQ+Pu1hXb01SbG PnOJAEI50NAaVOePEN5g =vbSR -----END PGP SIGNATURE----- --=-yP30NamqL+a65rXCGxKR--