Commit a074e9e
authored
Generalize sync ActiveRequests (#6398)
* Generalize sync ActiveRequests
* Remove impossible to hit test
* Update beacon_node/lighthouse_network/src/service/api_types.rs
Co-authored-by: realbigsean <[email protected]>
* Update beacon_node/network/src/sync/network_context.rs
Co-authored-by: realbigsean <[email protected]>
* Update beacon_node/network/src/sync/network_context.rs
Co-authored-by: realbigsean <[email protected]>
* Simplify match
* Fix display
* Merge remote-tracking branch 'sigp/unstable' into sync-active-request-generalize
* Sampling requests should not expect all responses
* Merge remote-tracking branch 'sigp/unstable' into sync-active-request-generalize
* Fix sampling_batch_requests_not_enough_responses_returned test
* Merge remote-tracking branch 'sigp/unstable' into sync-active-request-generalize
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into sync-active-request-generalize1 parent 606a113 commit a074e9e
File tree
10 files changed
+369
-333
lines changed- beacon_node
- lighthouse_network/src/service
- network/src/sync
- block_lookups
- network_context
- requests
10 files changed
+369
-333
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 25 | | |
31 | 26 | | |
32 | 27 | | |
| |||
35 | 30 | | |
36 | 31 | | |
37 | 32 | | |
38 | | - | |
| 33 | + | |
39 | 34 | | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| 179 | + | |
176 | 180 | | |
177 | 181 | | |
178 | | - | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
784 | 785 | | |
785 | 786 | | |
786 | 787 | | |
| |||
1189 | 1190 | | |
1190 | 1191 | | |
1191 | 1192 | | |
| 1193 | + | |
1192 | 1194 | | |
1193 | 1195 | | |
1194 | 1196 | | |
| |||
1416 | 1418 | | |
1417 | 1419 | | |
1418 | 1420 | | |
1419 | | - | |
| 1421 | + | |
1420 | 1422 | | |
1421 | 1423 | | |
1422 | 1424 | | |
| |||
2160 | 2162 | | |
2161 | 2163 | | |
2162 | 2164 | | |
2163 | | - | |
| 2165 | + | |
2164 | 2166 | | |
2165 | 2167 | | |
2166 | 2168 | | |
| |||
2176 | 2178 | | |
2177 | 2179 | | |
2178 | 2180 | | |
2179 | | - | |
| 2181 | + | |
2180 | 2182 | | |
2181 | 2183 | | |
2182 | 2184 | | |
| |||
2721 | 2723 | | |
2722 | 2724 | | |
2723 | 2725 | | |
2724 | | - | |
2725 | | - | |
2726 | | - | |
2727 | | - | |
2728 | | - | |
2729 | 2726 | | |
2730 | 2727 | | |
2731 | 2728 | | |
| |||
2814 | 2811 | | |
2815 | 2812 | | |
2816 | 2813 | | |
2817 | | - | |
2818 | | - | |
2819 | | - | |
2820 | | - | |
2821 | | - | |
2822 | | - | |
2823 | | - | |
2824 | | - | |
2825 | | - | |
2826 | | - | |
2827 | | - | |
2828 | | - | |
2829 | | - | |
2830 | | - | |
2831 | | - | |
2832 | 2814 | | |
2833 | 2815 | | |
2834 | 2816 | | |
| |||
2869 | 2851 | | |
2870 | 2852 | | |
2871 | 2853 | | |
2872 | | - | |
| 2854 | + | |
2873 | 2855 | | |
2874 | 2856 | | |
2875 | 2857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
482 | 478 | | |
483 | 479 | | |
484 | 480 | | |
| |||
1104 | 1100 | | |
1105 | 1101 | | |
1106 | 1102 | | |
1107 | | - | |
| 1103 | + | |
1108 | 1104 | | |
1109 | 1105 | | |
1110 | | - | |
1111 | 1106 | | |
1112 | 1107 | | |
1113 | 1108 | | |
| |||
1149 | 1144 | | |
1150 | 1145 | | |
1151 | 1146 | | |
1152 | | - | |
1153 | 1147 | | |
1154 | 1148 | | |
1155 | 1149 | | |
1156 | 1150 | | |
1157 | 1151 | | |
1158 | 1152 | | |
1159 | 1153 | | |
1160 | | - | |
| 1154 | + | |
1161 | 1155 | | |
1162 | 1156 | | |
1163 | 1157 | | |
| |||
0 commit comments