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

ticketvote: Add the timestamp to the vote summary. #1653

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

lukebp
Copy link
Member

@lukebp lukebp commented Jul 1, 2022

This commit adds the timestamp of the vote status change to the vote
summary structure.

The function that builds the vote summary contains the logic for
determining the vote status of a record. Including the timestamp of the
vote status change in the vote summary ensures that the logic for
determing the vote status and it's associated timestamp remains in one
place.

This addition also allows the vote inventory to be rebuilt using just
the vote summaries, without having to pull any additional data.

This commit adds the timestamp of the vote status change to the vote
summary structure.

The function that builds the vote summary contains the logic for
determining the vote status of a record. Including the timestamp of the
vote status change in the vote summary ensures that the logic for
determing the vote status and it's associated timestamp remains in one
place.

This addition also allows the vote inventory to be rebuilt using just
the vote summaries, without having to pull any additional data.
@lukebp lukebp merged commit 9366695 into decred:master Jul 5, 2022
@lukebp lukebp deleted the ticketvote-summary branch July 6, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants