Commit 85c8a5e
committed
Merge bitcoin#29647: Avoid divide-by-zero in header sync logs when NodeClock is behind
fa4d98b Avoid divide-by-zero in header sync logs when NodeClock is behind (MarcoFalke)
fa58550 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 fa4d98b
sr-gi:
tACK [fa4d98b](bitcoin@fa4d98b)
achow101:
ACK fa4d98b
tdb3:
ACK fa4d98b
Tree-SHA512: 3c5aee4030af387695918c5238012c972ebf850b52e956b5f74590cd7fd4eff0b3e593d411e3eb2a0bb12294af8dc6fbe320f90e4c261399b65a404ff3c3cbd91 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4234 | 4234 | | |
4235 | 4235 | | |
4236 | 4236 | | |
4237 | | - | |
| 4237 | + | |
| 4238 | + | |
4238 | 4239 | | |
4239 | | - | |
| 4240 | + | |
4240 | 4241 | | |
4241 | 4242 | | |
4242 | 4243 | | |
| |||
4260 | 4261 | | |
4261 | 4262 | | |
4262 | 4263 | | |
4263 | | - | |
| 4264 | + | |
| 4265 | + | |
4264 | 4266 | | |
4265 | | - | |
| 4267 | + | |
4266 | 4268 | | |
4267 | 4269 | | |
4268 | 4270 | | |
| |||
0 commit comments