diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-09-07 21:05:23 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-09-07 21:05:47 +0200 |
commit | e7f125562fbbfc18cd98b081de75090069078ec2 (patch) | |
tree | 3cb5e4017961b08b7dbb90a14b38e370939d6f59 /src/chain.h | |
parent | a3624ddb1a3b4a1ced39dfe75b1bcbb52de4fbb0 (diff) | |
parent | c8d38abd65d920ec28c68020bf910cfa79216bd5 (diff) |
Merge #11237: qt: Fixing division by zero in time remaining
c8d38abd6 Refactor tipUpdate as per style guide (MeshCollider)
3b69a08c5 Fix division by zero in time remaining (MeshCollider)
Pull request description:
Fixes https://github.com/bitcoin/bitcoin/issues/10291, https://github.com/bitcoin/bitcoin/issues/11265
progressDelta may be 0 (or even negative according to 11265), this checks for that and prints unknown if it is, because we cannot calculate an estimate for the time remaining (would be infinite or negative).
Tree-SHA512: bc5708e5ed6e4670d008219558c5fbb25709bd99a32c98ec39bb74f94a0b7fa058f3d03389ccdd39e6723e6b5b48e34b13ceee7c051c2db631e51d8ec3e1d68c
Diffstat (limited to 'src/chain.h')
0 files changed, 0 insertions, 0 deletions