-
Notifications
You must be signed in to change notification settings - Fork 3
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
docs: Design document for Block Verification Process #384
base: main
Are you sure you want to change the base?
Conversation
04ef762
to
6e49f24
Compare
- **blocks_system_error**: Counter of the number of blocks with system errors | ||
- **block_verification_time**: Histogram of the time taken to verify a block, gives the node operator an idea of the time taken to verify a block. | ||
- | ||
## Exceptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're mingling high-level and detail design a bit too much, then.
A response code is what I would call these (as they are not exception classes) and avoid mingling concepts.
At this high level, it is irrelevant how that response code is generated (whether exception, or inspection, or any other mechanism); only that the response is returned to the "caller" (however that is defined).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few suggestions.
- **blocks_system_error**: Counter of the number of blocks with system errors | ||
- **block_verification_time**: Histogram of the time taken to verify a block, gives the node operator an idea of the time taken to verify a block. | ||
- | ||
## Exceptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
878c942
to
788be85
Compare
Signed-off-by: Alfredo Gutierrez <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #384 +/- ##
=========================================
Coverage 96.96% 96.96%
Complexity 395 395
=========================================
Files 79 79
Lines 1417 1417
Branches 93 93
=========================================
Hits 1374 1374
Misses 32 32
Partials 11 11 |
|
||
## Entities | ||
|
||
- #### VerificationHandler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong heading level for verification handler
- #### VerificationHandler | |
- ### VerificationHandler |
Description:
Design document for Block Verification Process
Related issue(s):
Fixes #383
Notes for reviewer:
Checklist