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)
committerLuke Dashjr <luke-jr+git@utopios.org>
Mon, 12 Mar 2012 01:53:47 +0000 (21:53 -0400)
commit11c34e0f6cf9cb2715c28b85a1ec8f47bf5ca8dd
tree6876e7b136728c857aeb3f64a676f49778713fab
parent88aa771536014919e955c4f7b2cada9a0dcf8561
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/rpc.cpp
src/util.h