Commit f0b466d
committed
builder: force full RGS sync on legacy mismatch
When deserializing `NodeMetrics`, keep reading the legacy RGS timestamp
field long enough to compare it with `NetworkGraph` during build. If the
values diverge, start the next rapid gossip sync from timestamp `0`
instead of trusting either partial state.
Generated with the assistance of AI.
Co-Authored-By: HAL 90001 parent 9affc0c commit f0b466d
2 files changed
+31
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | | - | |
1165 | | - | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
1166 | 1168 | | |
1167 | 1169 | | |
1168 | | - | |
| 1170 | + | |
1169 | 1171 | | |
1170 | 1172 | | |
1171 | 1173 | | |
| |||
1647 | 1649 | | |
1648 | 1650 | | |
1649 | 1651 | | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
1650 | 1655 | | |
1651 | 1656 | | |
1652 | 1657 | | |
| |||
1660 | 1665 | | |
1661 | 1666 | | |
1662 | 1667 | | |
1663 | | - | |
| 1668 | + | |
1664 | 1669 | | |
1665 | 1670 | | |
1666 | 1671 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
329 | 330 | | |
330 | 331 | | |
331 | 332 | | |
332 | | - | |
| 333 | + | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
| |||
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
343 | | - | |
| 344 | + | |
344 | 345 | | |
345 | 346 | | |
346 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
347 | 366 | | |
348 | 367 | | |
349 | 368 | | |
| |||
0 commit comments