Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove telemetry signature partitions #3014

Merged

Conversation

wezrule
Copy link
Contributor

@wezrule wezrule commented Oct 21, 2020

Currently v21 nodes will only understand telemetry if any new data is signed separately, this is not very efficient. This is replacing it by ignoring excess data by still signing the whole payload. No new data will be introduced in v22, and v23 the plan is to drop v21 as they will not understand v2 state blocks. So this will allow v22 to be backwards compatible with any telemetry updates mad in v23.

I've tested this on beta by manually spitting out extra data and all other nodes banned me (as expected) due to the signature not validating, and the other node I had running this PR didn't ban it, just ignored the data.

@wezrule wezrule added this to the V22.0 milestone Oct 21, 2020
@wezrule wezrule requested review from clemahieu and SergiySW October 21, 2020 16:41
@wezrule wezrule self-assigned this Oct 21, 2020
SergiySW
SergiySW previously approved these changes Oct 23, 2020
@zhyatt zhyatt added functionality quality improvements This item indicates the need for or supplies a better way to implement existing functionality telemetry labels Oct 26, 2020
clemahieu
clemahieu previously approved these changes Nov 3, 2020
@wezrule wezrule dismissed stale reviews from clemahieu and SergiySW via 3830c1c November 3, 2020 19:12
@zhyatt zhyatt mentioned this pull request Nov 6, 2020
20 tasks
@wezrule wezrule merged commit 053c4ff into nanocurrency:develop Jan 7, 2021
@wezrule wezrule deleted the remove_telemetry_signature_partitions branch January 7, 2021 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
functionality quality improvements This item indicates the need for or supplies a better way to implement existing functionality telemetry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants