Commit dfe1341
MarcoFalke
Merge bitcoin#24033: log: Remove GetAdjustedTime from IBD header progress estimation
fac22fd log: Remove GetAdjustedTime from IBD header progress estimation (MarcoFalke)
Pull request description:
This is a "refactor" that shouldn't change behaviour, because the two times are most likely equal. A minimum of 5 outbound peers are needed to adjust the time. And if the time is adjusted, it will be by at most 70 minutes (`DEFAULT_MAX_TIME_ADJUSTMENT`). Thus, the progress estimate should differ by at most 7 blocks.
ACKs for top commit:
laanwj:
Code review ACK fac22fd
vincenzopalazzo:
ACK bitcoin@fac22fd
Tree-SHA512: bf9f5eef66db0110dd268cf6dbfab64b9c11ba776924f5b386ceae3f2d005272cceb87ebcc96e0c8b854c051514854a2a5af39ae43bad008fac685b5aafaabd01 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3528 | 3528 | | |
3529 | 3529 | | |
3530 | 3530 | | |
3531 | | - | |
| 3531 | + | |
| 3532 | + | |
| 3533 | + | |
| 3534 | + | |
3532 | 3535 | | |
3533 | 3536 | | |
3534 | 3537 | | |
| |||
0 commit comments