Skip to content

dbft: specify rejected hashes on CV construction#158

Closed
AnnaShaleva wants to merge 1 commit intomasterfrom
cv
Closed

dbft: specify rejected hashes on CV construction#158
AnnaShaleva wants to merge 1 commit intomasterfrom
cv

Conversation

@AnnaShaleva
Copy link
Copy Markdown
Member

@AnnaShaleva AnnaShaleva added this to the v0.5.0 milestone Mar 27, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 57.72%. Comparing base (e044839) to head (39ecd4a).

Files with missing lines Patch % Lines
config.go 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   57.65%   57.72%   +0.06%     
==========================================
  Files          33       33              
  Lines        1913     1916       +3     
==========================================
+ Hits         1103     1106       +3     
  Misses        717      717              
  Partials       93       93              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

VerifyPreBlock func(b PreBlock[H]) bool
// VerifyBlock verifies if block is valid.
VerifyBlock func(b Block[H]) bool
// VerifyBlock verifies if block is valid and optionally returns the hash of invalid transaction.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A single one?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

A single one. NeoGo fails verification after first invalid transaction.

@AnnaShaleva
Copy link
Copy Markdown
Member Author

Won't be included into our version of dBFT, we're fine with server-side logs.

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