diff options
author | Ava Chow <github@achow101.com> | 2024-03-22 13:08:23 -0400 |
---|---|---|
committer | Ava Chow <github@achow101.com> | 2024-03-22 13:18:30 -0400 |
commit | 85c8a5ec48b5e2a0ba26bec0acb572dce37271ff (patch) | |
tree | 5360b593f5f5fa2536a3ab0c03c001f57cad2c6a /src/qt/guiutil.h | |
parent | 2ffaa927023f5dc2a7b8d6cfeb4f4810e573b18c (diff) | |
parent | fa4d98b3c8e63f20c6f366fc9382039ba52614a4 (diff) | |
download | bitcoin-85c8a5ec48b5e2a0ba26bec0acb572dce37271ff.tar.xz |
Merge bitcoin/bitcoin#29647: Avoid divide-by-zero in header sync logs when NodeClock is behind
fa4d98b3c8e63f20c6f366fc9382039ba52614a4 Avoid divide-by-zero in header sync logs when NodeClock is behind (MarcoFalke)
fa58550317c633c411009c1cc8fb692e3baf97e8 refactor: Modernize header sync logs (MarcoFalke)
Pull request description:
The log may be confusing, when the NodeClock is behind the current header tip.
Fix it, by assuming the NodeClock is never behind the current header tip.
ACKs for top commit:
sipa:
utACK fa4d98b3c8e63f20c6f366fc9382039ba52614a4
sr-gi:
tACK [fa4d98b](https://github.com/bitcoin/bitcoin/pull/29647/commits/fa4d98b3c8e63f20c6f366fc9382039ba52614a4)
achow101:
ACK fa4d98b3c8e63f20c6f366fc9382039ba52614a4
tdb3:
ACK fa4d98b3c8e63f20c6f366fc9382039ba52614a4
Tree-SHA512: 3c5aee4030af387695918c5238012c972ebf850b52e956b5f74590cd7fd4eff0b3e593d411e3eb2a0bb12294af8dc6fbe320f90e4c261399b65a404ff3c3cbd9
Diffstat (limited to 'src/qt/guiutil.h')
0 files changed, 0 insertions, 0 deletions