Gregory Maxwell 1e21c17d20 Make CCryptoKeyStore::Unlock check all keys.
CCryptoKeyStore::Unlock has a loop to attempt decrypting each key which
 only executes once, likely due to a simple mistake when the code was
 originally written.

This patch fixes the behavior by making it check all keys. It also adds
 a fatal assertion in the case some decrypt but some do not, since that
 indicates that the wallet is in some kind of really bad state.

This may make unlocking noticeably slower on wallets with many keys.
2014-08-10 18:36:06 -07:00
..
2014-06-21 19:47:43 +02:00
2014-08-08 09:58:58 +02:00
2014-08-01 17:45:09 +02:00
2014-07-21 11:50:07 -07:00
2014-07-21 11:50:07 -07:00
2014-08-03 17:26:27 +02:00
2014-07-28 14:54:08 +02:00
2014-07-15 09:14:33 +02:00
2014-08-08 07:40:45 +02:00
2014-06-21 19:47:43 +02:00
2014-08-06 16:00:39 +02:00
2014-08-03 17:26:27 +02:00
2014-08-08 07:40:45 +02:00
2014-08-08 07:40:45 +02:00
2014-07-07 10:20:28 +02:00
2014-07-28 19:30:58 +02:00
2014-08-03 17:09:23 +02:00
2014-07-11 14:48:02 +02:00
2014-07-03 14:42:16 -04:00
2014-06-12 13:52:15 +02:00
2014-07-24 16:08:59 +02:00