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

Improve external api #95

Merged
merged 3 commits into from
Feb 13, 2024
Merged

Improve external api #95

merged 3 commits into from
Feb 13, 2024

Conversation

roman-khimov
Copy link
Member

No description provided.

 * it's missing one method
 * it doesn't solve any problem, there is exactly one DBFT that implements it
   and it doesn't provide anything but the dBFT service

Signed-off-by: Roman Khimov <[email protected]>
@roman-khimov roman-khimov added this to the v0.2.0 milestone Feb 13, 2024
Copy link

codecov bot commented Feb 13, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (3c9c1c8) 73.13% compared to head (902e6b5) 73.02%.

Files Patch % Lines
dbft.go 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
- Coverage   73.13%   73.02%   -0.11%     
==========================================
  Files          24       24              
  Lines        1381     1383       +2     
==========================================
  Hits         1010     1010              
- Misses        303      305       +2     
  Partials       68       68              

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

dbft.go Outdated Show resolved Hide resolved
dbft.go Outdated Show resolved Hide resolved
dbft.go Show resolved Hide resolved
dbft.go Outdated Show resolved Hide resolved
InitializeConsensus was once an internal function, for external use only view
zero is relevant, so API should be somewhat more strict. Some shorter name is
nice to have as well.

Signed-off-by: Roman Khimov <[email protected]>
@AnnaShaleva AnnaShaleva merged commit 1483c28 into master Feb 13, 2024
5 of 7 checks passed
@AnnaShaleva AnnaShaleva deleted the improve-external-api branch February 13, 2024 15:45
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