stratum-mining / stratum

stratum
https://stratumprotocol.org
Other
224 stars 130 forks source link

fix license formatting #1218

Closed plebhash closed 1 month ago

plebhash commented 1 month ago

close https://github.com/stratum-mining/stratum/issues/1217

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 19.36%. Comparing base (5bb6db6) to head (50b8a2a). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1218 +/- ## ======================================= Coverage 19.36% 19.36% ======================================= Files 164 164 Lines 10811 10811 ======================================= Hits 2094 2094 Misses 8717 8717 ``` | [Flag](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | Coverage Δ | | |---|---|---| | [binary_codec_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [binary_serde_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `3.65% <ø> (ø)` | | | [binary_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `5.46% <ø> (ø)` | | | [bip32_derivation-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [buffer_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `25.02% <ø> (ø)` | | | [codec_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.01% <ø> (ø)` | | | [common_messages_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.13% <ø> (ø)` | | | [const_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [error_handling-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [framing_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.29% <ø> (ø)` | | | [jd_client-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [jd_server-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `8.13% <ø> (ø)` | | | [job_declaration_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [key-utils-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `2.39% <ø> (ø)` | | | [mining-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `2.51% <ø> (ø)` | | | [mining_device-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [mining_proxy_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.70% <ø> (ø)` | | | [noise_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `4.35% <ø> (ø)` | | | [pool_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `1.38% <ø> (ø)` | | | [protocols](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `24.72% <ø> (ø)` | | | [roles](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `6.63% <ø> (ø)` | | | [roles_logic_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `8.06% <ø> (ø)` | | | [sv1-mining-device-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [sv2_ffi-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [template_distribution_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `0.00% <ø> (ø)` | | | [translator_sv2-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `9.61% <ø> (ø)` | | | [utils](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `25.13% <ø> (ø)` | | | [v1-coverage](https://app.codecov.io/gh/stratum-mining/stratum/pull/1218/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining) | `2.47% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stratum-mining#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 1 month ago

🐰 Bencher Report

Branch1218/merge
Testbedsv1

⚠️ WARNING: The following Measures do not have a Threshold. Without a Threshold, no Alerts will ever be generated!

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkEstimated Cyclesestimated cyclesInstructionsinstructionsL1 AccessesaccessesL2 AccessesaccessesRAM Accessesaccesses
get_authorize📈 view plot
⚠️ NO THRESHOLD
8,587.00📈 view plot
⚠️ NO THRESHOLD
3,772.00📈 view plot
⚠️ NO THRESHOLD
5,292.00📈 view plot
⚠️ NO THRESHOLD
8.00📈 view plot
⚠️ NO THRESHOLD
93.00
get_submit📈 view plot
⚠️ NO THRESHOLD
95,472.00📈 view plot
⚠️ NO THRESHOLD
59,522.00📈 view plot
⚠️ NO THRESHOLD
85,507.00📈 view plot
⚠️ NO THRESHOLD
47.00📈 view plot
⚠️ NO THRESHOLD
278.00
get_subscribe📈 view plot
⚠️ NO THRESHOLD
8,110.00📈 view plot
⚠️ NO THRESHOLD
2,848.00📈 view plot
⚠️ NO THRESHOLD
3,980.00📈 view plot
⚠️ NO THRESHOLD
14.00📈 view plot
⚠️ NO THRESHOLD
116.00
serialize_authorize📈 view plot
⚠️ NO THRESHOLD
12,366.00📈 view plot
⚠️ NO THRESHOLD
5,343.00📈 view plot
⚠️ NO THRESHOLD
7,456.00📈 view plot
⚠️ NO THRESHOLD
9.00📈 view plot
⚠️ NO THRESHOLD
139.00
serialize_deserialize_authorize📈 view plot
⚠️ NO THRESHOLD
24,977.00📈 view plot
⚠️ NO THRESHOLD
9,920.00📈 view plot
⚠️ NO THRESHOLD
14,012.00📈 view plot
⚠️ NO THRESHOLD
37.00📈 view plot
⚠️ NO THRESHOLD
308.00
serialize_deserialize_handle_authorize📈 view plot
⚠️ NO THRESHOLD
30,481.00📈 view plot
⚠️ NO THRESHOLD
12,097.00📈 view plot
⚠️ NO THRESHOLD
17,136.00📈 view plot
⚠️ NO THRESHOLD
58.00📈 view plot
⚠️ NO THRESHOLD
373.00
serialize_deserialize_handle_submit📈 view plot
⚠️ NO THRESHOLD
126,513.00📈 view plot
⚠️ NO THRESHOLD
73,363.00📈 view plot
⚠️ NO THRESHOLD
105,193.00📈 view plot
⚠️ NO THRESHOLD
113.00📈 view plot
⚠️ NO THRESHOLD
593.00
serialize_deserialize_handle_subscribe📈 view plot
⚠️ NO THRESHOLD
28,021.00📈 view plot
⚠️ NO THRESHOLD
9,666.00📈 view plot
⚠️ NO THRESHOLD
13,676.00📈 view plot
⚠️ NO THRESHOLD
62.00📈 view plot
⚠️ NO THRESHOLD
401.00
serialize_deserialize_submit📈 view plot
⚠️ NO THRESHOLD
115,479.00📈 view plot
⚠️ NO THRESHOLD
68,223.00📈 view plot
⚠️ NO THRESHOLD
97,934.00📈 view plot
⚠️ NO THRESHOLD
65.00📈 view plot
⚠️ NO THRESHOLD
492.00
serialize_deserialize_subscribe📈 view plot
⚠️ NO THRESHOLD
23,511.00📈 view plot
⚠️ NO THRESHOLD
8,225.00📈 view plot
⚠️ NO THRESHOLD
11,586.00📈 view plot
⚠️ NO THRESHOLD
40.00📈 view plot
⚠️ NO THRESHOLD
335.00
serialize_submit📈 view plot
⚠️ NO THRESHOLD
99,865.00📈 view plot
⚠️ NO THRESHOLD
61,566.00📈 view plot
⚠️ NO THRESHOLD
88,350.00📈 view plot
⚠️ NO THRESHOLD
49.00📈 view plot
⚠️ NO THRESHOLD
322.00
serialize_subscribe📈 view plot
⚠️ NO THRESHOLD
11,439.00📈 view plot
⚠️ NO THRESHOLD
4,195.00📈 view plot
⚠️ NO THRESHOLD
5,839.00📈 view plot
⚠️ NO THRESHOLD
14.00📈 view plot
⚠️ NO THRESHOLD
158.00
🐰 View full continuous benchmarking report in Bencher
github-actions[bot] commented 1 month ago

🐰 Bencher Report

Branch1218/merge
Testbedsv2

⚠️ WARNING: The following Measures do not have a Threshold. Without a Threshold, no Alerts will ever be generated!

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkEstimated Cyclesestimated cyclesInstructionsinstructionsL1 AccessesaccessesL2 AccessesaccessesRAM Accessesaccesses
client_sv2_handle_message_common📈 view plot
⚠️ NO THRESHOLD
2,137.00📈 view plot
⚠️ NO THRESHOLD
473.00📈 view plot
⚠️ NO THRESHOLD
732.00📈 view plot
⚠️ NO THRESHOLD
8.00📈 view plot
⚠️ NO THRESHOLD
39.00
client_sv2_handle_message_mining📈 view plot
⚠️ NO THRESHOLD
8,200.00📈 view plot
⚠️ NO THRESHOLD
2,137.00📈 view plot
⚠️ NO THRESHOLD
3,160.00📈 view plot
⚠️ NO THRESHOLD
35.00📈 view plot
⚠️ NO THRESHOLD
139.00
client_sv2_mining_message_submit_standard📈 view plot
⚠️ NO THRESHOLD
6,331.00📈 view plot
⚠️ NO THRESHOLD
1,750.00📈 view plot
⚠️ NO THRESHOLD
2,546.00📈 view plot
⚠️ NO THRESHOLD
22.00📈 view plot
⚠️ NO THRESHOLD
105.00
client_sv2_mining_message_submit_standard_serialize📈 view plot
⚠️ NO THRESHOLD
14,682.00📈 view plot
⚠️ NO THRESHOLD
4,694.00📈 view plot
⚠️ NO THRESHOLD
6,757.00📈 view plot
⚠️ NO THRESHOLD
45.00📈 view plot
⚠️ NO THRESHOLD
220.00
client_sv2_mining_message_submit_standard_serialize_deserialize📈 view plot
⚠️ NO THRESHOLD
27,510.00📈 view plot
⚠️ NO THRESHOLD
10,585.00📈 view plot
⚠️ NO THRESHOLD
15,400.00📈 view plot
⚠️ NO THRESHOLD
84.00📈 view plot
⚠️ NO THRESHOLD
334.00
client_sv2_open_channel📈 view plot
⚠️ NO THRESHOLD
4,409.00📈 view plot
⚠️ NO THRESHOLD
1,461.00📈 view plot
⚠️ NO THRESHOLD
2,159.00📈 view plot
⚠️ NO THRESHOLD
9.00📈 view plot
⚠️ NO THRESHOLD
63.00
client_sv2_open_channel_serialize📈 view plot
⚠️ NO THRESHOLD
14,004.00📈 view plot
⚠️ NO THRESHOLD
5,064.00📈 view plot
⚠️ NO THRESHOLD
7,329.00📈 view plot
⚠️ NO THRESHOLD
33.00📈 view plot
⚠️ NO THRESHOLD
186.00
client_sv2_open_channel_serialize_deserialize📈 view plot
⚠️ NO THRESHOLD
22,677.00📈 view plot
⚠️ NO THRESHOLD
8,027.00📈 view plot
⚠️ NO THRESHOLD
11,672.00📈 view plot
⚠️ NO THRESHOLD
80.00📈 view plot
⚠️ NO THRESHOLD
303.00
client_sv2_setup_connection📈 view plot
⚠️ NO THRESHOLD
4,719.00📈 view plot
⚠️ NO THRESHOLD
1,502.00📈 view plot
⚠️ NO THRESHOLD
2,274.00📈 view plot
⚠️ NO THRESHOLD
13.00📈 view plot
⚠️ NO THRESHOLD
68.00
client_sv2_setup_connection_serialize📈 view plot
⚠️ NO THRESHOLD
16,148.00📈 view plot
⚠️ NO THRESHOLD
5,963.00📈 view plot
⚠️ NO THRESHOLD
8,663.00📈 view plot
⚠️ NO THRESHOLD
41.00📈 view plot
⚠️ NO THRESHOLD
208.00
client_sv2_setup_connection_serialize_deserialize📈 view plot
⚠️ NO THRESHOLD
35,492.00📈 view plot
⚠️ NO THRESHOLD
14,855.00📈 view plot
⚠️ NO THRESHOLD
21,822.00📈 view plot
⚠️ NO THRESHOLD
95.00📈 view plot
⚠️ NO THRESHOLD
377.00
🐰 View full continuous benchmarking report in Bencher
github-actions[bot] commented 1 month ago

🐰 Bencher Report

Branch1218/merge
Testbedsv1

⚠️ WARNING: The following Measure does not have a Threshold. Without a Threshold, no Alerts will ever be generated!

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
client-submit-serialize📈 view plot
⚠️ NO THRESHOLD
6,744.80
client-submit-serialize-deserialize📈 view plot
⚠️ NO THRESHOLD
7,697.20
client-submit-serialize-deserialize-handle/client-submit-serialize-deserialize-handle📈 view plot
⚠️ NO THRESHOLD
8,307.40
client-sv1-authorize-serialize-deserialize-handle/client-sv1-authorize-serialize-deserialize-handle📈 view plot
⚠️ NO THRESHOLD
936.81
client-sv1-authorize-serialize-deserialize/client-sv1-authorize-serialize-deserialize📈 view plot
⚠️ NO THRESHOLD
731.73
client-sv1-authorize-serialize/client-sv1-authorize-serialize📈 view plot
⚠️ NO THRESHOLD
259.93
client-sv1-get-authorize/client-sv1-get-authorize📈 view plot
⚠️ NO THRESHOLD
164.80
client-sv1-get-submit📈 view plot
⚠️ NO THRESHOLD
6,537.50
client-sv1-get-subscribe/client-sv1-get-subscribe📈 view plot
⚠️ NO THRESHOLD
276.33
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handle📈 view plot
⚠️ NO THRESHOLD
810.59
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserialize📈 view plot
⚠️ NO THRESHOLD
679.97
client-sv1-subscribe-serialize/client-sv1-subscribe-serialize📈 view plot
⚠️ NO THRESHOLD
204.88
🐰 View full continuous benchmarking report in Bencher
github-actions[bot] commented 1 month ago

🐰 Bencher Report

Branch1218/merge
Testbedsv2

⚠️ WARNING: The following Measure does not have a Threshold. Without a Threshold, no Alerts will ever be generated!

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
client_sv2_handle_message_common📈 view plot
⚠️ NO THRESHOLD
45.27
client_sv2_handle_message_mining📈 view plot
⚠️ NO THRESHOLD
72.58
client_sv2_mining_message_submit_standard📈 view plot
⚠️ NO THRESHOLD
14.65
client_sv2_mining_message_submit_standard_serialize📈 view plot
⚠️ NO THRESHOLD
267.27
client_sv2_mining_message_submit_standard_serialize_deserialize📈 view plot
⚠️ NO THRESHOLD
591.97
client_sv2_open_channel📈 view plot
⚠️ NO THRESHOLD
162.51
client_sv2_open_channel_serialize📈 view plot
⚠️ NO THRESHOLD
283.92
client_sv2_open_channel_serialize_deserialize📈 view plot
⚠️ NO THRESHOLD
373.95
client_sv2_setup_connection📈 view plot
⚠️ NO THRESHOLD
164.14
client_sv2_setup_connection_serialize📈 view plot
⚠️ NO THRESHOLD
436.46
client_sv2_setup_connection_serialize_deserialize📈 view plot
⚠️ NO THRESHOLD
1,033.10
🐰 View full continuous benchmarking report in Bencher