aboutsummaryrefslogtreecommitdiff
path: root/src/qt/receivecoinsdialog.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-01-17 12:15:45 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2018-01-17 12:15:59 +0100
commitc7978be899646194b6abc5b34a7f6a3311490033 (patch)
tree809e1c662f0f670bcbd8305a80706a2482b7a6fd /src/qt/receivecoinsdialog.cpp
parentadce1de9a6ce5b41c4117b62f705bca53bf97216 (diff)
parent134cdc7cee3da7c554e40ad947a9cdcbb3069f13 (diff)
downloadbitcoin-c7978be899646194b6abc5b34a7f6a3311490033.tar.xz
Merge #12101: Clamp walletpassphrase timeout to 2^30 seconds and check its bounds
134cdc7 Test walletpassphrase timeout bounds and clamping (Andrew Chow) 0b63e3c Clamp walletpassphrase timeout to 2^(30) seconds and check its bounds (Andrew Chow) Pull request description: Fixes #12100 Makes the timeout be clamped to 2^30 seconds to avoid the issue with sign flipping with large timeout values and thus relocking the wallet instantly. Unlocking for at most ~34 years should be sufficient. Also checks that the timeout is not negative to avoid instant relocks. Tree-SHA512: 426922f08c54e323d259e25dcdbebc2cd560708a65111ce6051493a7e7c61e79d9da1ea4026cc0d68807d728f5d7c0d7c58168c6ef4167b94cf6c2877af88794
Diffstat (limited to 'src/qt/receivecoinsdialog.cpp')
0 files changed, 0 insertions, 0 deletions