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

timer: drop HV interface, use it less often #105

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Conversation

roman-khimov
Copy link
Member

Take a look, suggestions are welcome. But I think it's easier to use this way.

@roman-khimov roman-khimov added this to the v0.2.0 milestone Mar 8, 2024
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 96.42857% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 62.76%. Comparing base (7e15b1f) to head (262f817).

Files Patch % Lines
internal/simulation/main.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #105      +/-   ##
==========================================
- Coverage   62.80%   62.76%   -0.04%     
==========================================
  Files          27       27              
  Lines        1546     1531      -15     
==========================================
- Hits          971      961      -10     
+ Misses        508      503       -5     
  Partials       67       67              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add a note to CHANGELOG. The PR itself LGTM.

context.go Outdated Show resolved Hide resolved
dbft.go Show resolved Hide resolved
context.go Show resolved Hide resolved
* HV is not a perfect name
* in most cases we can have simpler interface with one/two values
* the only problem is LastSeenMessage where we need to have this pair, so
  it's kept for this purpose only, but with a better name

Signed-off-by: Roman Khimov <[email protected]>
@AnnaShaleva AnnaShaleva merged commit 88b2f18 into master Mar 11, 2024
10 checks passed
@AnnaShaleva AnnaShaleva deleted the timer-no-hv branch March 11, 2024 07:14
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