Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"
authorGregory Maxwell <greg@xiph.org>
Sat, 10 Mar 2012 21:05:28 +0000 (16:05 -0500)
committerGregory Maxwell <greg@xiph.org>
Sat, 10 Mar 2012 22:38:37 +0000 (17:38 -0500)
commit82a10c81707dcff5ee24dec7ef7ebf8eccfded03
tree7629dc24efea6c45289478741b4b01b60128c7d6
parent4585d828b490f826cf863353d1cdf41ec4cb0724
Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"

2^31 milliseconds is only about 25 days. Also clamps Sleep() to 10 years,
because it currently sleeps for 0 seconds when the sleep time would cross
2^31 seconds since the epoch. Hopefully boost will be fixed by 2028.
src/bitcoinrpc.cpp
src/util.h