Skip to content

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

Merged
clemahieu merged 5 commits intonanocurrency:developfrom
clemahieu:remove_vote_by_block
May 9, 2022
Merged

Remove vote-by-block support from vote class#3813
clemahieu merged 5 commits intonanocurrency:developfrom
clemahieu:remove_vote_by_block

Conversation

@clemahieu
Copy link
Copy Markdown
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.

clemahieu added 4 commits May 9, 2022 13:09
…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 force-pushed the remove_vote_by_block branch from 9163cfd to aeed10f Compare May 9, 2022 12:13
@clemahieu clemahieu added this to the V24.0 milestone May 9, 2022
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants