Commit e2cbfe8
authored
Beacon sync update sched lru and maint update (#3811)
* Don't startle log file observers with an `error` message on legit shutdown
detail
Use `debug` message instead
* Code cosmetics, readability updates
* Providing ETA calculator
* Code cosmetics, logging & metrics updates
details
+ Log block numbers without a leading hash `#`
+ Avoid "(from queue)" info in log statements
+ Rename `lastState` -> `syncState`
+ Log ETA with regular block & header `info` log gravity
+ Grafana example update
* Replace `keyed_queue` by `minilru`
* Bump minilru
* Re-implement handling of LRU evicted sync peers
details
Using `miniurl.putWithEvicted()` for post-processing evicted peers1 parent 6135980 commit e2cbfe8
File tree
24 files changed
+926
-258
lines changed- execution_chain
- core/chain
- sync
- beacon
- worker
- blocks
- headers
- update
- vendor
24 files changed
+926
-258
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
141 | | - | |
| 144 | + | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| |||
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
313 | | - | |
314 | | - | |
| 316 | + | |
315 | 317 | | |
316 | | - | |
| 318 | + | |
| 319 | + | |
317 | 320 | | |
318 | 321 | | |
319 | 322 | | |
| |||
335 | 338 | | |
336 | 339 | | |
337 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
338 | 344 | | |
339 | 345 | | |
340 | 346 | | |
| |||
361 | 367 | | |
362 | 368 | | |
363 | 369 | | |
364 | | - | |
365 | 370 | | |
366 | 371 | | |
367 | 372 | | |
| |||
642 | 647 | | |
643 | 648 | | |
644 | 649 | | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
645 | 656 | | |
646 | 657 | | |
647 | 658 | | |
| |||
0 commit comments