--- Log opened Sun May 19 00:00:04 2013 03:23 < warren> sipa: I have a litecoin wallet last touched by 0.6. With secp256k1 0.8.x reports the wallet is corrupt. I am trying to reproduce this with bitcoin. 03:23 < warren> 0.8.x without secp256k1 works fine with that wallet 03:24 < warren> init message: Loading wallet... 03:24 < warren> Error reading wallet database: CPrivKey corrupt 03:24 < warren> Error reading wallet database: CPrivKey corrupt 03:24 < warren> Error loading wallet.dat: Wallet corrupted 03:27 < warren> It's entirely likely this is my fault. 03:47 < warren> I'll report back if I manage to isolate it to a particular key or reproduce it on bitcoin. 05:47 < warren> Yeah, it seems fine with fresh wallet.dat's. 07:30 < wumpus> I don't think you should ask sipa questions about litecoin 07:36 < wumpus> oh it's about his secp library, never mind 09:48 < sipa> warren: i recently fixed a bug involving incorrect privkey serialization 15:26 < warren> sipa: I'm using your latest code 15:30 < sipa> that's remarkable 15:30 < sipa> let me check whether i committed it 15:30 < warren> oh? 15:31 < warren> https://github.com/sipa/secp256k1/commits/master 15:31 < sipa> looks good 15:32 < warren> When I build 0.8.x with openssl it loads the 0.6 wallet just fine. I'll add some print statements and figure out what's going on. 15:35 < warren> heading out for shopping, bbl 16:01 < sipa> warren: it may be related to compressed keys? 16:01 < zooko> Hi sipa! 16:01 < sipa> hi zooko! 16:01 < zooko> I think I saw you entering the Bitcoin Foundation. 16:02 < zooko> Um, meeting, I mean. 16:02 < sipa> i'm there right now 16:08 < warren> sipa: did 0.6 support compressed keys? 16:09 < sipa> warren: yes 16:10 < warren> When I'm back I'll see if I can reproduce this from bitcoin-0.6 -> bitcoin-0.8.x 16:10 < warren> If that fails, are you interested to see my code and wallet.dat? --- Log closed Mon May 20 00:00:06 2013