Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove vote-by-block support from vote class #3813

Merged
merged 5 commits into from
May 9, 2022

Conversation

clemahieu
Copy link
Contributor

The existing implementation was problematic, modeled as a vector-of-variants rather than a variant of a block and hash vector. It also disallowed behavior that can be correctly encoded, such as empty vote-by-hash votes.

…y-block which is not currently emitted.

The existing implementation was problematic, modeled as a vector-of-variants rather than a variant of a block and hash vector. It also disallowed behavior that can be correctly encoded, such as empty vote-by-hash votes.

Fixing this abstraction inversion was more difficult that simply removing vote by block since this path also introduced its own complexity.
@clemahieu clemahieu added this to the V24.0 milestone May 9, 2022
nano/secure/common.cpp Outdated Show resolved Hide resolved
…antics of what's being returned and added documentation to function.
@clemahieu clemahieu merged commit 32a3222 into nanocurrency:develop May 9, 2022
dsiganos added a commit to dsiganos/nano_protocol that referenced this pull request Aug 5, 2022
The node is not using such votes for some time now and it now dropped
support for parsing them:
nanocurrency/nano-node#3813
dsiganos added a commit to dsiganos/nano_protocol that referenced this pull request Aug 6, 2022
The node is not using such votes for some time now and it now dropped
support for parsing them:
nanocurrency/nano-node#3813
dsiganos added a commit to nanocurrency/protocol that referenced this pull request Aug 6, 2022
The node is not using such votes for some time now and it now dropped
support for parsing them:
nanocurrency/nano-node#3813
dsiganos added a commit to nanocurrency/protocol that referenced this pull request Jan 25, 2023
The node is not using such votes for some time now and it now dropped
support for parsing them:
nanocurrency/nano-node#3813
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants