Commit 1ff366a
fix(onboarding): serve finalized data ungated + rebroadcast NodeRegistration; quiet log levels
- Remove the pre-activation serve-gate from handle_block_request and handle_macroblock_request. Finalized blocks/macroblocks/snapshots are QC-bound public data, served to any peer (sync-first, register-second) — a peer cannot forge a block without a 2f+1 QC. Unblocks block-sync and snapshot fast-sync for a fresh super-node not yet on-chain registered; DoS stays bounded by the per-(IP,id) rate-limit + leader-shed.
- Rebroadcast a node's own NodeRegistration (bounded, ~30x/60s) from the periodic registration loop so a dropped join-time broadcast still reaches a producer for inclusion (one-shot send was lost when the joining node was poorly connected).
- Log hygiene: set_node_reputation deprecation spam -> DBG; epoch_boundary_crossed and storage startup notes WARN -> DBG; VRF key-without-PoP WARN only for non-genesis; narrow the private-IP label to RFC1918 172.16/12.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 147b4ff commit 1ff366a
3 files changed
Lines changed: 76 additions & 62 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
185 | 195 | | |
186 | 196 | | |
187 | 197 | | |
| |||
4869 | 4879 | | |
4870 | 4880 | | |
4871 | 4881 | | |
4872 | | - | |
4873 | | - | |
| 4882 | + | |
| 4883 | + | |
| 4884 | + | |
| 4885 | + | |
| 4886 | + | |
| 4887 | + | |
| 4888 | + | |
| 4889 | + | |
| 4890 | + | |
4874 | 4891 | | |
4875 | 4892 | | |
4876 | 4893 | | |
| |||
15151 | 15168 | | |
15152 | 15169 | | |
15153 | 15170 | | |
| 15171 | + | |
| 15172 | + | |
| 15173 | + | |
| 15174 | + | |
| 15175 | + | |
| 15176 | + | |
| 15177 | + | |
| 15178 | + | |
| 15179 | + | |
| 15180 | + | |
| 15181 | + | |
| 15182 | + | |
| 15183 | + | |
| 15184 | + | |
| 15185 | + | |
| 15186 | + | |
| 15187 | + | |
| 15188 | + | |
| 15189 | + | |
| 15190 | + | |
| 15191 | + | |
15154 | 15192 | | |
15155 | 15193 | | |
15156 | 15194 | | |
| |||
15422 | 15460 | | |
15423 | 15461 | | |
15424 | 15462 | | |
15425 | | - | |
15426 | | - | |
| 15463 | + | |
| 15464 | + | |
| 15465 | + | |
| 15466 | + | |
| 15467 | + | |
| 15468 | + | |
| 15469 | + | |
| 15470 | + | |
15427 | 15471 | | |
15428 | 15472 | | |
15429 | 15473 | | |
| |||
27865 | 27909 | | |
27866 | 27910 | | |
27867 | 27911 | | |
27868 | | - | |
27869 | | - | |
27870 | | - | |
27871 | | - | |
27872 | | - | |
| 27912 | + | |
| 27913 | + | |
| 27914 | + | |
| 27915 | + | |
| 27916 | + | |
| 27917 | + | |
| 27918 | + | |
27873 | 27919 | | |
27874 | 27920 | | |
27875 | 27921 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1053 | 1053 | | |
1054 | 1054 | | |
1055 | 1055 | | |
1056 | | - | |
1057 | | - | |
| 1056 | + | |
| 1057 | + | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
| |||
3449 | 3449 | | |
3450 | 3450 | | |
3451 | 3451 | | |
3452 | | - | |
| 3452 | + | |
| 3453 | + | |
| 3454 | + | |
3453 | 3455 | | |
3454 | 3456 | | |
3455 | 3457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
486 | | - | |
487 | | - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
488 | 489 | | |
489 | 490 | | |
490 | 491 | | |
| |||
18395 | 18396 | | |
18396 | 18397 | | |
18397 | 18398 | | |
18398 | | - | |
18399 | | - | |
18400 | | - | |
18401 | | - | |
18402 | | - | |
18403 | | - | |
18404 | | - | |
18405 | | - | |
18406 | | - | |
18407 | | - | |
18408 | | - | |
18409 | | - | |
18410 | | - | |
18411 | | - | |
18412 | | - | |
18413 | | - | |
18414 | | - | |
18415 | | - | |
18416 | | - | |
18417 | | - | |
18418 | | - | |
18419 | | - | |
18420 | | - | |
18421 | | - | |
18422 | | - | |
18423 | | - | |
18424 | | - | |
| 18399 | + | |
| 18400 | + | |
| 18401 | + | |
| 18402 | + | |
18425 | 18403 | | |
18426 | 18404 | | |
18427 | 18405 | | |
| |||
18763 | 18741 | | |
18764 | 18742 | | |
18765 | 18743 | | |
18766 | | - | |
18767 | | - | |
18768 | | - | |
18769 | | - | |
18770 | | - | |
18771 | | - | |
18772 | | - | |
18773 | | - | |
18774 | | - | |
18775 | | - | |
18776 | | - | |
18777 | | - | |
18778 | | - | |
18779 | | - | |
18780 | | - | |
18781 | | - | |
18782 | | - | |
18783 | | - | |
| 18744 | + | |
| 18745 | + | |
| 18746 | + | |
| 18747 | + | |
18784 | 18748 | | |
18785 | 18749 | | |
18786 | 18750 | | |
| |||
20527 | 20491 | | |
20528 | 20492 | | |
20529 | 20493 | | |
20530 | | - | |
20531 | | - | |
| 20494 | + | |
| 20495 | + | |
| 20496 | + | |
| 20497 | + | |
20532 | 20498 | | |
20533 | 20499 | | |
20534 | 20500 | | |
| |||
0 commit comments