mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 20:22:02 +00:00
Add range sync metrics to track efficiency (#6095)
* Add more range sync metrics to track efficiency * Add ignored blocks metrics
This commit is contained in:
committed by
Age Manning
parent
cb1e8dc3f9
commit
4bfca8251d
@@ -156,11 +156,12 @@ pub enum BlockProcessingResult<E: EthSpec> {
|
||||
pub enum BatchProcessResult {
|
||||
/// The batch was completed successfully. It carries whether the sent batch contained blocks.
|
||||
Success {
|
||||
was_non_empty: bool,
|
||||
sent_blocks: usize,
|
||||
imported_blocks: usize,
|
||||
},
|
||||
/// The batch processing failed. It carries whether the processing imported any block.
|
||||
FaultyFailure {
|
||||
imported_blocks: bool,
|
||||
imported_blocks: usize,
|
||||
penalty: PeerAction,
|
||||
},
|
||||
NonFaultyFailure,
|
||||
|
||||
Reference in New Issue
Block a user